def test_value_error_if_key_missing_in_context(replay_test_dir, template_name):
    with pytest.raises(ValueError):
        replay.dump(replay_test_dir, template_name, {'foo': 'bar'})
Create the time series for the various metrics, averaged over the aggregation period being used for plots
dataset/ETHPy150Open audreyr/cookiecutter/tests/replay/test_dump.py/test_value_error_if_key_missing_in_context--crossover with--dataset/ETHPy150Open linkedin/naarad/src/naarad/metrics/jmeter_metric.py/JmeterMetric.average_values_for_plot