We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa6f74 commit de3ce4fCopy full SHA for de3ce4f
tests/unit/test_main.py
@@ -92,11 +92,11 @@ def test_scan_with_exception(self, load_mock):
92
self.assertEqual(1, exitcode)
93
94
def test_main_with_exitcode_not_zero(self):
95
- patch('sonar_scanner_python.cli.scan', return_value=42)
+ patch("sonar_scanner_python.cli.scan", return_value=42)
96
with self.assertRaises(SystemExit) as main_exit:
97
main()
98
main_exit.return_value = 42
99
-
+
100
def test_version_check_outdated_sonarqube(self):
101
sq_cloud_api = sq_api_utils.get_sq_server()
102
sq_cloud_api.get_analysis_version = Mock(return_value=SQVersion.from_str("9.9.9"))
0 commit comments