Skip to content

Commit

Permalink
Update test with latest docker-cat updates
Browse files Browse the repository at this point in the history
  • Loading branch information
louisjdmartin committed Feb 19, 2024
1 parent 2f86309 commit 07e7c36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_docker_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def test_check_plugins(self):
("Kotlin Code Quality and Security","2.12.0 (build 1956)"),
("PHP Code Quality and Security","3.27.1 (build 9352)"),
("PMD", "3.4.0"),
("Python Code Quality and Security","3.24 (build 10784)"),
("Python Code Quality and Security","3.24.1 (build 11916)"),
("Ruby Code Quality and Security","1.11.0 (build 3905)"),
("Scala Code Quality and Security","1.11.0 (build 3905)"),
("ShellCheck Analyzer","2.5.0"),
Expand All @@ -381,7 +381,7 @@ def test_check_qg(self):
"""
quality_gates = requests.get(f"{self.CAT_URL}/api/qualitygates/list",
auth =("admin", "admin")).json()['qualitygates']
cnes_quality_gates = [ gate for gate in quality_gates if gate['name'] == "CNES" ]
cnes_quality_gates = [ gate for gate in quality_gates if gate['name'] == "CNES CAYCode FromScratch" ]
# Hint: if one of these tests fails, the CNES Quality Gate may not have been added correctly, check the container logs
assert cnes_quality_gates # not empty
assert cnes_quality_gates[0]['isDefault']
Expand Down

0 comments on commit 07e7c36

Please sign in to comment.