@@ -482,6 +482,8 @@ def test_sort():
482482 )
483483 assert test_results_perf [1 ].runtime > 0
484484 assert test_results_perf [1 ].did_pass
485+ assert "codeflash stdout: Sorting list" in test_results_perf [1 ].stdout
486+ assert "result: [0, 1, 2, 3, 4, 5]" in test_results_perf [1 ].stdout
485487 finally :
486488 test_path .unlink (missing_ok = True )
487489 test_path_perf .unlink (missing_ok = True )
@@ -693,6 +695,9 @@ def test_sort_parametrized(input, expected_output):
693695 assert test_results_perf [1 ].runtime > 0
694696 assert test_results_perf [1 ].did_pass
695697
698+ assert "codeflash stdout: Sorting list" in test_results_perf [1 ].stdout
699+ assert "result: [0.0, 1.0, 2.0, 3.0, 4.0, 5.0]" in test_results_perf [1 ].stdout
700+
696701 assert test_results_perf [2 ].id .function_getting_tested == "sorter"
697702 assert test_results_perf [2 ].id .iteration_id == "0_2"
698703 assert test_results_perf [2 ].id .test_class_name is None
@@ -1230,7 +1235,8 @@ def test_sort():
12301235 assert test_results [0 ].runtime > 0
12311236 assert test_results [0 ].did_pass
12321237 assert test_results [0 ].return_value is None
1233-
1238+ assert "codeflash stdout: Sorting list" in test_results [0 ].stdout
1239+ assert "result: [0.0, 1.0, 2.0, 3.0, 4.0, 5.0]" in test_results [0 ].stdout
12341240 assert test_results [1 ].id .function_getting_tested == "sorter"
12351241 assert test_results [1 ].id .iteration_id == "2_2_1"
12361242 assert test_results [1 ].id .test_class_name is None
0 commit comments