def test_asterdownload(self): # this zone does exist and file should be small enough for download zone = 'S73E137' unit = 'S75E135' fp = utils._download_aster_file(zone, unit) self.assertTrue(os.path.exists(fp))
def test_asterdownloadfails(self): # this zone does not exist zone = 'bli' unit = 'S75E135' self.assertTrue(utils._download_aster_file(zone, unit) is None)
def test_asterdownloadfails(self): # this zone does exist and file should be small enough for download zone = 'bli' unit = 'S75E135' self.assertTrue(utils._download_aster_file(zone, unit) is None)