def test_get_shake_map_output(self): """Check that we can retrieve a shakemap 'out' input file.""" shake_data = ShakeData(SHAKE_ID) shakemap_file = shake_data.fetch_output() expected_file = os.path.join( shakemap_zip_dir(), SHAKE_ID + '.out.zip') message = 'Expected path for downloaded shakemap OUT not received' self.assertEqual(shakemap_file, expected_file, message)
def test_get_shake_map_output(self): """Check that we can retrieve a shakemap 'out' input file.""" event_id = '20110413170148' shake_data = ShakeData(event_id) shakemap_file = shake_data.fetch_output() expected_file = os.path.join(shakemap_zip_dir(), event_id + '.out.zip') message = 'Expected path for downloaded shakemap OUT not received' self.assertEqual(shakemap_file, expected_file, message)
def test_get_shake_map_output(self): """Check that we can retrieve a shakemap 'out' input file""" event_id = '20110413170148' shake_data = ShakeData(event_id) shakemap_file = shake_data.fetch_output() expected_file = os.path.join(shakemap_zip_dir(), event_id + '.out.zip') message = 'Expected path for downloaded shakemap OUT not received' self.assertEqual(shakemap_file, expected_file, message)