@@ -150,9 +150,7 @@ class TestEvalCommand:
150150 def test_basic_eval (self ):
151151 """Test basic eval with echo provider."""
152152 config_path = CONFIGS_DIR / "basic.yaml"
153- stdout , stderr , exit_code = run_promptfoo (
154- ["eval" , "-c" , str (config_path ), "--no-cache" ]
155- )
153+ stdout , stderr , exit_code = run_promptfoo (["eval" , "-c" , str (config_path ), "--no-cache" ])
156154
157155 assert exit_code == 0 , f"Eval failed:\n STDOUT: { stdout } \n STDERR: { stderr } "
158156 # Should show evaluation results
@@ -267,9 +265,7 @@ def test_verbose_flag(self):
267265 """Test --verbose flag."""
268266 config_path = CONFIGS_DIR / "basic.yaml"
269267
270- stdout , stderr , exit_code = run_promptfoo (
271- ["eval" , "-c" , str (config_path ), "--verbose" , "--no-cache" ]
272- )
268+ stdout , stderr , exit_code = run_promptfoo (["eval" , "-c" , str (config_path ), "--verbose" , "--no-cache" ])
273269
274270 assert exit_code == 0
275271 # Verbose mode should produce output
@@ -283,9 +279,7 @@ def test_success_exit_code(self):
283279 """Test exit code 0 when all assertions pass."""
284280 config_path = CONFIGS_DIR / "basic.yaml"
285281
286- stdout , stderr , exit_code = run_promptfoo (
287- ["eval" , "-c" , str (config_path ), "--no-cache" ]
288- )
282+ stdout , stderr , exit_code = run_promptfoo (["eval" , "-c" , str (config_path ), "--no-cache" ])
289283
290284 assert exit_code == 0
291285
@@ -365,9 +359,7 @@ def test_contains_assertion(self):
365359 """Test contains assertion."""
366360 config_path = CONFIGS_DIR / "basic.yaml"
367361
368- stdout , stderr , exit_code = run_promptfoo (
369- ["eval" , "-c" , str (config_path ), "--no-cache" ]
370- )
362+ stdout , stderr , exit_code = run_promptfoo (["eval" , "-c" , str (config_path ), "--no-cache" ])
371363
372364 assert exit_code == 0
373365 # All assertions should pass
@@ -377,9 +369,7 @@ def test_multiple_assertions(self):
377369 """Test multiple assertions in single test."""
378370 config_path = CONFIGS_DIR / "assertions.yaml"
379371
380- stdout , stderr , exit_code = run_promptfoo (
381- ["eval" , "-c" , str (config_path ), "--no-cache" ]
382- )
372+ stdout , stderr , exit_code = run_promptfoo (["eval" , "-c" , str (config_path ), "--no-cache" ])
383373
384374 assert exit_code == 0
385375
0 commit comments