File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,6 +223,16 @@ def test_mg_m5nrtoolspl():
223223 assert stat == 0
224224 assert b"alcohol dehydrogenase" in out
225225
226+ def test_query_matrix ():
227+ s = '''mg-query.py 'http://api.mg-rast.org/matrix/organism?group_level=phylum&source=SEED&hit_type=single&result_type=abundance&evalue=1&identity=60&length=15&taxid=0&id=mgm4510219.3' > matrix.biom'''
228+ stat , out , err = runme (s )
229+ assert stat == 0
230+ def test_mg_biom_view ():
231+ s = '''mg-biom-view.py < mgm4514486.3.refseq.biom.json'''
232+ stat , out , err = runme (s )
233+ assert stat == 0
234+ assert b'Bacteria;Proteobacteria;Gammaproteobacteria;Vibrionales;Vibrionaceae;Vibrio;Vibrio cholerae;Vibrio cholerae BX 330286 8' in out
235+
226236@pytest .mark .known_failing
227237def test_known_failing ():
228238 assert False # This should not normally run
You can’t perform that action at this time.
0 commit comments