File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ def test_search_issues_by_project() -> None:
303303 nb_issues = len (issues .search_by_project (endpoint = tutil .SQ , project_key = tutil .LIVE_PROJECT , search_findings = True ))
304304 assert 100 <= nb_issues <= 3500
305305 nb_issues = len (issues .search_by_project (endpoint = tutil .SQ , project_key = tutil .LIVE_PROJECT , params = {"resolved" : "false" }))
306- assert nb_issues < 1700
306+ assert nb_issues < 1800
307307 nb_issues = len (issues .search_by_project (endpoint = tutil .SQ , project_key = None ))
308308 assert nb_issues > 3500
309309
Original file line number Diff line number Diff line change 3131
3232
3333ISSUE_FP = "ffbe8a34-cef6-4d5b-849d-bb2c25951c51"
34- ISSUE_FP_V9_9 = "AZi22OzWCMRVk7bHctjy "
34+ ISSUE_FP_V9_9 = "AZi22OzbCMRVk7bHctjz "
3535ISSUE_ACCEPTED = "c99ac40e-c2c5-43ef-bcc5-4cd077d1052f"
3636ISSUE_ACCEPTED_V9_9 = "AZI6frkTuTfDeRt_hspx"
3737ISSUE_W_MULTIPLE_CHANGELOGS = "6ae41c3b-c3d2-422f-a505-d355e7b0a268"
@@ -103,6 +103,9 @@ def test_set_severity() -> None:
103103 issue .refresh ()
104104 assert issue .impacts == old_impacts
105105
106+ if tutil .SQ .version () < c .MQR_INTRO_VERSION :
107+ return
108+
106109 tutil .SQ .set_mqr_mode (True )
107110
108111 assert not issue .set_severity (new_sev )
@@ -170,7 +173,9 @@ def test_changelog() -> None:
170173 assert str (issue ) == f"Issue key '{ issue_key } '"
171174 assert issue .is_false_positive ()
172175 changelog_l = list (issue .changelog (manual_only = False ).values ())
173- if tutil .SQ .version () >= (2025 , 4 , 2 ) or tutil .SQ .edition () != c .CE :
176+ if tutil .SQ .version () < (10 , 0 , 0 ):
177+ nb_changes = 1
178+ elif tutil .SQ .version () >= (2025 , 4 , 2 ) or tutil .SQ .edition () != c .CE :
174179 nb_changes = 14
175180 elif tutil .SQ .version () >= (25 , 1 , 0 ):
176181 nb_changes = 8
You can’t perform that action at this time.
0 commit comments