コード例 #1
0
 def test_validate_isajson_get_config(self):
     """Tests against 4002"""
     try:
         configs = isajson.load_config(os.path.join(self._configs_json_data_dir))
         if configs is None:
             self.fail("There was a problem and config is null")
         else:
             self.assertIsNotNone(configs[('metagenome sequencing', 'nucleotide sequencing')])
     except IOError as e:
         self.fail("Could not load config because... " + str(e))
コード例 #2
0
 def test_validate_isajson_get_config(self):
     """Tests against 4002"""
     try:
         configs = isajson.load_config(os.path.join(self._configs_json_data_dir))
         if configs is None:
             self.fail("There was a problem and config is null")
         else:
             self.assertIsNotNone(configs[('metagenome sequencing', 'nucleotide sequencing')])
     except IOError as e:
         self.fail("Could not load config because... " + str(e))
コード例 #3
0
 def test_validate_isajson_load_config(self):
     """Tests against 4001"""
     try:
         isajson.load_config(os.path.join(self._configs_json_data_dir))
     except IOError as e:
         self.fail("Could not load config because... " + str(e))
コード例 #4
0
ファイル: test_validators.py プロジェクト: scottx611x/isa-api
 def test_validate_isajson_load_config(self):
     """Tests against 4001"""
     try:
         isajson.load_config(os.path.join(self._configs_json_data_dir))
     except IOError as e:
         self.fail("Could not load config because... " + str(e))