def test_png_in_api_collection(self): self.assertTrue(BasePNGAPI in APICollection.base_api_inheritors())
def test_png_in_api_collection_to_dict(self): api_dict = APICollection.to_dict() self.assertEqual(api_dict['png']['name'], 'png')
def test_zip_in_api_collection(self): self.assertTrue(BaseZIPAPI in APICollection.base_api_inheritors())
def test_zip_in_api_collection_to_dict(self): api_dict = APICollection.to_dict() self.assertEqual(api_dict['zip']['name'], 'zip')
def _to_dict(self): return APICollection.to_dict()
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')
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_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["point"]["name"], "point")