File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ def test_file_yaml():
80
80
81
81
mock_path .unlink ()
82
82
83
- @pytest .mark .skip (reason = "CSV fix not merged yet" )
84
83
@pytest .mark .asyncio
85
84
async def test_file_csv ():
86
85
mock_benchmark = mock_generative_benchmark ()
@@ -96,6 +95,7 @@ async def test_file_csv():
96
95
rows = list (reader )
97
96
98
97
assert "Type" in headers
98
+ assert "Profile" in headers
99
99
assert len (rows ) == 1
100
100
101
101
mock_path .unlink ()
Original file line number Diff line number Diff line change @@ -76,7 +76,11 @@ def mock_generative_benchmark() -> GenerativeBenchmark:
76
76
),
77
77
benchmarker = BenchmarkerDict (
78
78
profile = SynchronousProfile .create ("synchronous" , rate = None ),
79
- requests = {},
79
+ requests = {
80
+ "attributes" : {
81
+ "data" : "prompt_tokens=256,output_tokens=128" ,
82
+ },
83
+ },
80
84
backend = {},
81
85
environment = {},
82
86
aggregators = {},
You can’t perform that action at this time.
0 commit comments