[Debian-med-packaging] Build time test of srst2 fails

Andreas Tille andreas at an3as.eu
Sat Aug 13 19:51:46 UTC 2016


Hi Kathryn,

I have packaged srst2 for Debian and wanted to upgrade to the latest
version 0.2.0.  Unfortunately the test fails in two tests:


Ran 11 tests in 0.040s

OK
.............FF..
======================================================================
FAIL: test_run_bowtie_with_defaults (__main__.TestRunBowtie)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "test_srst2.py", line 213, in test_run_bowtie_with_defaults
    run_mock.assert_called_once_with(expected_bowtie2_command)
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'run_command' to be called once. Called 0 times.

======================================================================
FAIL: test_run_bowtie_with_overide (__main__.TestRunBowtie)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "test_srst2.py", line 180, in test_run_bowtie_with_overide
    run_mock.assert_called_once_with(expected_bowtie2_command)
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 947, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'run_command' to be called once. Called 0 times.

----------------------------------------------------------------------
Ran 17 tests in 0.060s

FAILED (failures=2)


Do you have any hint what might be wrong here?

Kind regards

        Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list