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'})
Test that replay.dump raises if the context does not contain a key
dataset/ETHPy150Open audreyr/cookiecutter/tests/replay/test_dump.py/test_value_error_if_key_missing_in_context