def test_get_list_event_ids(self): """Test get_list_event_ids.""" local_path = os.path.join(temp_dir('realtime-test'), 'shakemaps') shake_data = ShakeData(working_dir=local_path) list_id = shake_data.get_list_event_ids() expected_list_id = [SHAKE_ID] message = 'I got %s for the event ID in the server, Expectation %s' % ( list_id, expected_list_id) self.assertEqual(list_id, expected_list_id, message)