예제 #1
0
 def test_png_in_api_collection(self):
     self.assertTrue(BasePNGAPI in APICollection.base_api_inheritors())
예제 #2
0
 def test_png_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['png']['name'], 'png')
예제 #3
0
 def test_zip_in_api_collection(self):
     self.assertTrue(BaseZIPAPI in APICollection.base_api_inheritors())
예제 #4
0
 def test_zip_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['zip']['name'], 'zip')
예제 #5
0
 def _to_dict(self):
     return APICollection.to_dict()
예제 #6
0
 def test_zip_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['zip']['name'], 'zip')
예제 #7
0
 def test_csv_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['csv']['name'], 'csv')
예제 #8
0
 def test_html_in_api_collection(self):
     self.assertTrue(BaseHTMLAPI in APICollection.base_api_inheritors())
예제 #9
0
 def test_html_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['html']['name'], 'html')
예제 #10
0
 def test_csv_in_api_collection(self):
     self.assertTrue(BaseCSVAPI in APICollection.base_api_inheritors())
예제 #11
0
 def test_html_in_api_collection(self):
     self.assertTrue(BaseHTMLAPI in APICollection.base_api_inheritors())
예제 #12
0
 def test_csv_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['csv']['name'], 'csv')
예제 #13
0
 def test_csv_in_api_collection(self):
     self.assertTrue(BaseCSVAPI in APICollection.base_api_inheritors())
예제 #14
0
 def test_raster_in_api_collection(self):
     self.assertTrue(BaseRasterAPI in APICollection.base_api_inheritors())
예제 #15
0
 def test_raster_in_api_collection(self):
     self.assertTrue(BaseRasterAPI in APICollection.base_api_inheritors())
예제 #16
0
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['raster']['name'], 'raster')
예제 #17
0
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['raster']['name'], 'raster')
예제 #18
0
 def test_html_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict['html']['name'], 'html')
예제 #19
0
 def test_point_in_api_collection_to_dict(self):
     api_dict = APICollection.to_dict()
     self.assertEqual(api_dict["point"]["name"], "point")
예제 #20
0
 def _to_dict(self):
     return APICollection.to_dict()
예제 #21
0
 def test_zip_in_api_collection(self):
     self.assertTrue(BaseZIPAPI in APICollection.base_api_inheritors())