Exemple #1
0
 def test_png_in_api_collection(self):
     self.assertTrue(BasePNGAPI in APICollection.base_api_inheritors())
Exemple #2
0
 def test_png_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['png']['name'], 'png')
Exemple #3
0
 def test_zip_in_api_collection(self):
     self.assertTrue(BaseZIPAPI in APICollection.base_api_inheritors())
Exemple #4
0
 def test_zip_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['zip']['name'], 'zip')
Exemple #5
0
 def _to_dict(self):
     return APICollection.to_dict()
 def test_zip_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['zip']['name'], 'zip')
Exemple #7
0
 def test_csv_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['csv']['name'], 'csv')
 def test_html_in_api_collection(self):
     self.assertTrue(BaseHTMLAPI in APICollection.base_api_inheritors())
 def test_html_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['html']['name'], 'html')
Exemple #10
0
 def test_csv_in_api_collection(self):
     self.assertTrue(BaseCSVAPI in APICollection.base_api_inheritors())
 def test_html_in_api_collection(self):
     self.assertTrue(BaseHTMLAPI in APICollection.base_api_inheritors())
 def test_csv_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['csv']['name'], 'csv')
 def test_csv_in_api_collection(self):
     self.assertTrue(BaseCSVAPI in APICollection.base_api_inheritors())
 def test_raster_in_api_collection(self):
     self.assertTrue(BaseRasterAPI in APICollection.base_api_inheritors())
 def test_raster_in_api_collection(self):
     self.assertTrue(BaseRasterAPI in APICollection.base_api_inheritors())
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['raster']['name'], 'raster')
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['raster']['name'], 'raster')
 def test_html_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['html']['name'], 'html')
Exemple #19
0
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict["point"]["name"], "point")
Exemple #20
0
 def _to_dict(self):
     return APICollection.to_dict()
 def test_zip_in_api_collection(self):
     self.assertTrue(BaseZIPAPI in APICollection.base_api_inheritors())