View Issue Details

IDProjectCategoryView StatusLast Update
0006110Talerbank (demonstrator)public2020-03-31 16:04
ReporterChristian GrothoffAssigned ToFlorian Dold 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.6Fixed in Version 
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