Esempio n. 1
0
 def test__get_dataset_description(self):
     # Only a smoke test, I don't know exactly how to test the URL
     # retrieval and "caching"
     description = _get_dataset_description(2)
     self.assertIsInstance(description, dict)
Esempio n. 2
0
 def test__get_dataset_description(self):
     description = _get_dataset_description(self.workdir, 2)
     self.assertIsInstance(description, dict)
     description_xml_path = os.path.join(self.workdir, 'description.xml')
     self.assertTrue(os.path.exists(description_xml_path))
 def test__get_dataset_description(self):
     description = _get_dataset_description(self.workdir, 2)
     self.assertIsInstance(description, dict)
     description_xml_path = os.path.join(self.workdir,
                                         'description.xml')
     self.assertTrue(os.path.exists(description_xml_path))