@@ -342,7 +342,7 @@ def test_create_error(self):
342
342
self .outputs )
343
343
344
344
# the output type doesn't exist
345
- with self .assertRaisesRegex (ValueError , "Error creating QIIME , Split "
345
+ with self .assertRaisesRegex (ValueError , "Error creating QIIMEq2 , Split "
346
346
"libraries - wrong output, This is a "
347
347
"command for testing - Unknown "
348
348
"artifact_type: BLA!" ):
@@ -567,7 +567,7 @@ def tearDown(self):
567
567
remove (f )
568
568
569
569
def test_from_name_and_version (self ):
570
- obs = qdb .software .Software .from_name_and_version ('QIIME ' , '1.9.1' )
570
+ obs = qdb .software .Software .from_name_and_version ('QIIMEq2 ' , '1.9.1' )
571
571
exp = qdb .software .Software (1 )
572
572
self .assertEqual (obs , exp )
573
573
@@ -578,13 +578,13 @@ def test_from_name_and_version(self):
578
578
579
579
# Wrong name
580
580
with self .assertRaises (qdb .exceptions .QiitaDBUnknownIDError ):
581
- qdb .software .Software .from_name_and_version ('QiIME ' , '1.9.1' )
581
+ qdb .software .Software .from_name_and_version ('QiIMEq2 ' , '1.9.1' )
582
582
# Wrong version
583
583
with self .assertRaises (qdb .exceptions .QiitaDBUnknownIDError ):
584
- qdb .software .Software .from_name_and_version ('QIIME ' , '1.9.0' )
584
+ qdb .software .Software .from_name_and_version ('QIIMEq2 ' , '1.9.0' )
585
585
586
586
def test_name (self ):
587
- self .assertEqual (qdb .software .Software (1 ).name , "QIIME " )
587
+ self .assertEqual (qdb .software .Software (1 ).name , "QIIMEq2 " )
588
588
589
589
def test_version (self ):
590
590
self .assertEqual (qdb .software .Software (1 ).version , "1.9.1" )
@@ -694,7 +694,7 @@ def test_from_file(self):
694
694
self ._clean_up_files .append (fp )
695
695
with open (fp , 'w' ) as f :
696
696
f .write (CONF_TEMPLATE %
697
- ('QIIME ' , '1.9.1' ,
697
+ ('QIIMEq2 ' , '1.9.1' ,
698
698
'Quantitative Insights Into Microbial Ecology (QIIME) '
699
699
'is an open-source bioinformatics pipeline for '
700
700
'performing microbiome analysis from raw DNA '
@@ -829,7 +829,7 @@ def test_from_file(self):
829
829
self .assertEqual (obs .client_secret , 'client_secret' )
830
830
831
831
def test_exists (self ):
832
- self .assertTrue (qdb .software .Software .exists ("QIIME " , "1.9.1" ))
832
+ self .assertTrue (qdb .software .Software .exists ("QIIMEq2 " , "1.9.1" ))
833
833
self .assertFalse (qdb .software .Software .exists ("NewPlugin" , "1.9.1" ))
834
834
self .assertFalse (qdb .software .Software .exists ("QIIME" , "2.0.0" ))
835
835
0 commit comments