Skip to content

Commit d3d060b

Browse files
authored
MAINT: rachis rename (#389)
1 parent addaf36 commit d3d060b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

q2cli/tests/test_tools.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ def test_replay_provenance_python(self):
10761076
with open(out_fp, 'r') as fh:
10771077
rendered = fh.read()
10781078

1079-
self.assertIn('from qiime2 import Artifact', rendered)
1079+
self.assertIn('from rachis import Artifact', rendered)
10801080
self.assertIn('Artifact.import_data', rendered)
10811081
self.assertIn('dummy_plugin_actions.concatenate_ints', rendered)
10821082

@@ -1144,7 +1144,7 @@ def test_replay_citations(self):
11441144
# use .*? to non-greedily match version strings
11451145
exp = [
11461146
r'action\|dummy-plugin:.*?\|method:concatenate_ints\|0',
1147-
r'framework\|qiime2:.*?\|0',
1147+
r'framework\|rachis:.*?\|0',
11481148
r'plugin\|dummy-plugin:.*?\|0',
11491149
r'plugin\|dummy-plugin:.*?\|1',
11501150
r'transformer\|dummy-plugin:.*?\|builtins:list->'
@@ -1185,7 +1185,7 @@ def test_replay_citations_no_deduplicate(self):
11851185
with open(out_fp) as fh:
11861186
file_contents = fh.read()
11871187
framework_citations = \
1188-
re.compile(r'framework\|qiime2:.*?\|0.*' * 4, re.DOTALL)
1188+
re.compile(r'framework\|rachis:.*?\|0.*' * 4, re.DOTALL)
11891189
self.assertRegex(file_contents, framework_citations)
11901190

11911191
def test_replay_supplement(self):
@@ -2009,7 +2009,6 @@ def test_make_report_duplicate_names(self):
20092009
report = os.path.join(self.tempdir, 'report.qzv')
20102010
result = self.runner.invoke(
20112011
tools, ['make-report', dup1, dup2, '--report-path', report])
2012-
20132012
self.assertNotEqual(result.exit_code, 0)
20142013
self.assertIn('Multiple files share the same name', result.output)
20152014

0 commit comments

Comments
 (0)