diff --git a/tests/test_analyze_commands.py b/tests/test_analyze_commands.py index 50fd7d8632..262e914590 100644 --- a/tests/test_analyze_commands.py +++ b/tests/test_analyze_commands.py @@ -1637,7 +1637,7 @@ def test_baseline(): ], ): omniperf.main() - assert e.value.code == 0 + assert e.value.code == 1 with pytest.raises(SystemExit) as e: with patch( @@ -1652,7 +1652,7 @@ def test_baseline(): ], ): omniperf.main() - assert e.value.code == 0 + assert e.value.code == 1 @pytest.mark.misc