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 d4e4f26 commit 106df68Copy full SHA for 106df68
test/test_findings.py
@@ -455,12 +455,16 @@ def test_output_format_branch() -> None:
455
findings_export.main()
456
assert int(str(e.value)) == errcodes.OK
457
br_list = utilities.csv_to_list(br)
458
+ br, pr = BRANCH_COL, PR_COL
459
+ if util.SQ.version() < (10, 2, 0):
460
+ br += 1
461
+ pr += 1
462
with open(util.CSV_FILE, encoding="utf-8") as fd:
463
reader = csv.reader(fd)
464
next(reader)
465
for line in reader:
- assert line[BRANCH_COL] in br_list
- assert line[PR_COL] == ""
466
+ assert line[br] in br_list
467
+ assert line[pr] == ""
468
assert line[PROJECT_COL] == "okorach_sonar-tools"
469
util.clean(util.CSV_FILE)
470
0 commit comments