def record_build_name(request): record_name = get_record_name( class_name=request.cls.__name__ if request.cls is not None else None, test_name=request.function.__name__, ) path = get_perf_path(file_path=request.fspath.strpath) with record(record_name=record_name, path=path): yield
def test_unknown_file(self): assert get_perf_path("foo.plob") == "foo.plob.perf.yml"
def test_unknown_file(self): assert get_perf_path('foo.plob') == 'foo.plob.perf.yml'
def test_pyc_file(self): assert get_perf_path("foo.pyc") == "foo.perf.yml"
def test_pyc_file(self): assert get_perf_path('foo.pyc') == 'foo.perf.yml'