def test_catalog_get_data_location_catid_with_no_data(self): c = Catalog() s3path = c.get_data_location(catalog_id='1010010011AD6E00') assert s3path == None
def test_catalog_get_data_location_Landsat(self): c = Catalog() s3path = c.get_data_location(catalog_id='LC81740532014364LGN00') assert s3path == 's3://landsat-pds/L8/174/053/LC81740532014364LGN00'
def test_catalog_get_data_location_nonexistent_catid(self): c = Catalog() s3path = c.get_data_location( catalog_id='nonexistent_asdfasdfasdfdfasffds') assert s3path == None
def test_catalog_get_data_location_DG(self): c = Catalog() s3path = c.get_data_location(catalog_id='1030010045539700') assert s3path == 's3://receiving-dgcs-tdgplatform-com/055158926010_01_003'
def test_catalog_get_data_location_catid_with_no_data(self): c = Catalog() s3path = c.get_data_location(catalog_id='1010010011AD6E00') assert s3path == None
def test_catalog_get_data_location_nonexistent_catid(self): c = Catalog() s3path = c.get_data_location(catalog_id='nonexistent_asdfasdfasdfdfasffds') assert s3path == None
def test_catalog_get_data_location_Landsat(self): c = Catalog() s3path = c.get_data_location(catalog_id='LC81740532014364LGN00') assert s3path == 's3://landsat-pds/L8/174/053/LC81740532014364LGN00'
def test_catalog_get_data_location_DG(self): c = Catalog() s3path = c.get_data_location(catalog_id='1030010045539700') assert s3path == 's3://receiving-dgcs-tdgplatform-com/055158926010_01_003'