Skip to content

Commit f9b39e0

Browse files
committed
Add tests on hotspots
1 parent 6e79b18 commit f9b39e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_migration.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,12 @@ def test_migration() -> None:
8080

8181
iss = p["branches"]["master"]["issues"]
8282
assert iss["accepted"] > 0
83-
assert iss["fslePositives"] > 0
83+
assert iss["falsePositives"] > 0
8484
assert iss["thirdParty"] == 0
8585

86+
assert p["branches"]["master"]["hotspots"]["safe"] > 0
87+
assert p["branches"]["master"]["hotspots"]["acknowledged"] == 0
88+
8689
p = json_config["projects"]["checkstyle-issues"]
8790
assert len(p["branches"]["issues"]["thirdParty"]) > 0
8891

0 commit comments

Comments
 (0)