View Issue Details

IDProjectCategoryView StatusLast Update
0006110Talerobsolete componentpublic2020-03-31 16:04
ReporterChristian Grothoff Assigned ToFlorian Dold  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.6 
Summary0006110: unit tests of the bank fail
Description======================================================================
FAIL: test_register_headless (talerbank.app.tests.RegisterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/integrationtest/sources/bank/talerbank/app/tests.py", line 206, in test_register_headless
    self.assertEqual(200, response.status_code)
AssertionError: 200 != 500

======================================================================
FAIL: test_withdraw_headless (talerbank.app.tests.WithdrawHeadlessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/integrationtest/sources/bank/talerbank/app/tests.py", line 311, in test_withdraw_headless
    self.assertEqual(406, response.status_code)
AssertionError: 406 != 200

----------------------------------------------------------------------
Ran 16 tests in 8.128s
Steps To ReproduceRun 'make install ; make check' on the bank. Happens both on my local system as well as on the buildbot's integration test user.

Assigning to Florian as he was the last to touch the bank and might have forgotten to update the tests or something.
TagsNo tags attached.

Activities

Florian Dold

2020-02-25 18:40

manager   ~0015409

Indeed the test cases had to be adjusted to the recent rather hasty API changes.

I've opened a separate bug for having better test coverage for the newer bank-related APIs: 0006112

Issue History

Date Modified Username Field Change
2020-02-25 12:36 Christian Grothoff New Issue
2020-02-25 12:36 Christian Grothoff Status new => assigned
2020-02-25 12:36 Christian Grothoff Assigned To => Florian Dold
2020-02-25 18:40 Florian Dold Status assigned => resolved
2020-02-25 18:40 Florian Dold Resolution open => fixed
2020-02-25 18:40 Florian Dold Note Added: 0015409
2020-03-31 16:04 Christian Grothoff Status resolved => closed
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component