@pytest.fixture
def replay_file(replay_test_dir, template_name):
 file_name = '{}.json'.format(template_name)
 return os.path.join(replay_test_dir, file_name)

@ pytest . fixture def replay_file ( replay_test_dir , template_name ) : file_name = '{}.json' . format ( template_name ) return os . path . join ( replay_test_dir , file_name )
fixture to return a actual file name of the dump .