Debian Codegraph @

debian/patches/split_canu_tests

raw symbols SCIP
1 From: Michael R. Crusoe <[email protected]>
2 Subject: Allow for testing without spades installed
3 Forwarded: https://github.com/sanger-pathogens/circlator/pull/186
4
5 --- circlator.orig/circlator/tests/assemble_test.py
6 +++ circlator/circlator/tests/assemble_test.py
7 @@ -9,7 +9,7 @@
8 data_dir = os.path.join(modules_dir, 'tests', 'data')
9
10
11 -class TestAssemble(unittest.TestCase):
12 +class TestAssembleSpades(unittest.TestCase):
13 def setUp(self):
14 self.tmp_assemble_dir = 'tmp.assemble_test'
15 self.assembler = assemble.Assembler(
16 @@ -62,6 +62,11 @@
17 self.assertEqual(cmd_start + ' -o out -t 2 -k 41 --careful --only-assembler', self.assembler._make_spades_command(41, 'out'))
18
19
20 +class TestAssembleCanu(unittest.TestCase):
21 + def setUp(self):
22 + self.tmp_assemble_dir = 'tmp.assemble_test'
23 +
24 +
25 def test_make_canu_command(self):
26 '''test _make_canu_command'''
27 tmp_assemble_dir = 'tmp.assemble_test'