Skip to content

Commit 1840b29

Browse files
authored
MAINT: Split up test assertions (#388)
1 parent ac10c26 commit 1840b29

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

q2cli/tests/test_tools.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,19 +1347,24 @@ def test_replay_action_not_found(self):
13471347
with open(out_fp, 'r') as fh:
13481348
rendered = fh.read()
13491349

1350-
imports = \
1350+
import1 = \
13511351
"""
13521352
qiime tools import \\
13531353
--type 'Phylogeny[Rooted]' \\
13541354
--input-path <your data here> \\
13551355
--output-path phylogeny-rooted-0.qza
1356+
""" # noqa: E128
13561357

1358+
import2 = \
1359+
"""
13571360
qiime tools import \\
13581361
--type 'FeatureTable[Frequency]' \\
13591362
--input-path <your data here> \\
13601363
--output-path feature-table-frequency-0.qza
13611364
""" # noqa: E128
1362-
self.assertIn(imports, rendered)
1365+
1366+
self.assertIn(import1, rendered)
1367+
self.assertIn(import2, rendered)
13631368

13641369
FIXME_action = \
13651370
"""

0 commit comments

Comments
 (0)