def test_type_error_if_not_dict_context(replay_test_dir, template_name):
 with pytest.raises(TypeError):
  replay.dump(replay_test_dir, template_name, 'not_a_dict')

def test_type_error_if_not_dict_context ( replay_test_dir , template_name ) : with pytest . raises ( TypeError ) : replay . dump ( replay_test_dir , template_name , 'not_a_dict' )
test that replay .