"""Test utils.""" import json from pathlib import Path THIS_DIR = Path(__file__).parent def get_sample_event() -> dict: """Get sample event.""" sample_event_file = THIS_DIR.parent / 'sample_event.json' sample_event = json.loads(sample_event_file.read_text()) return sample_event