from pathlib import Path


def traces_path(app):
    """Returns the path to the traces.json for a given app name."""
    tests_path = Path(__file__).parent.parent
    sub_path = f"fixtures/aws_trace_analyzer/{app}/traces.json"
    return (tests_path / sub_path).resolve()