Skip to content

Commit d73a86d

Browse files
committed
Add a sample sniff test for new Mothur datatype.
The existing sniffer tests with the mothur stuff tests the sniffers in isolation - this is more of an integration test that tests the sample datatype configuration for the newly added mothur stuff.
1 parent d47f8f5 commit d73a86d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/galaxy/datatypes/sniff.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ def guess_ext( fname, sniff_order, is_multi_byte=False ):
343343
>>> fname = get_test_fname('5e5z.pdb')
344344
>>> guess_ext(fname, sniff_order)
345345
'pdb'
346+
>>> fname = get_test_fname('mothur_datatypetest_true.mothur.otu')
347+
>>> guess_ext(fname, sniff_order)
348+
'mothur.otu'
346349
"""
347350
for datatype in sniff_order:
348351
"""

0 commit comments

Comments
 (0)