diff --git a/tests/test_analyze_commands.py b/tests/test_analyze_commands.py index 7c3045306c..154ef85c90 100644 --- a/tests/test_analyze_commands.py +++ b/tests/test_analyze_commands.py @@ -1629,6 +1629,7 @@ def test_dependency_MI100(): omniperf.main() assert e.value.code == 0 + @pytest.mark.misc def test_save_dfs(): output_path = "tests/workloads/vcopy/saved_analysis" @@ -1649,12 +1650,13 @@ def test_save_dfs(): files_in_workload = os.listdir(output_path) for file_name in files_in_workload: import pandas as pd + df = pd.read_csv(output_path + "/" + file_name) print(file_name) single_row_tables = [ - '0.1_Top_Kernels.csv', - '13.3_Instruction_Cache_-_L2_Interface.csv', - '18.1_Aggregate_Stats_(All_32_channels).csv' + "0.1_Top_Kernels.csv", + "13.3_Instruction_Cache_-_L2_Interface.csv", + "18.1_Aggregate_Stats_(All_32_channels).csv", ] if file_name in single_row_tables: assert len(df.index) == 1