def test_convert_to_table_file_format(self): self.assertEqual('CSV', _cloud_api_utils.convert_to_table_file_format('csv')) self.assertEqual('GEO_JSON', _cloud_api_utils.convert_to_table_file_format('GeoJSON')) self.assertEqual('TF_RECORD_TABLE', _cloud_api_utils.convert_to_table_file_format('TFRecord'))
def test_convert_to_table_file_format(self): self.assertEqual('CSV', _cloud_api_utils.convert_to_table_file_format('csv')) self.assertEqual('GEO_JSON', _cloud_api_utils.convert_to_table_file_format('GeoJSON')) self.assertEqual('TF_RECORD_TABLE', _cloud_api_utils.convert_to_table_file_format('TFRecord'))