Browse Source

Fix supported matrix

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
pull/213/head
Petr "Stone" Hracek 1 year ago
parent
commit
fd0baa6905
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      tests/test_django.py

+ 4
- 0
tests/test_django.py View File

@ -26,6 +26,8 @@ class TestDancerAppExTemplate:
def test_template_inside_cluster(self): def test_template_inside_cluster(self):
if VERSION == "3.11-ubi8" or VERSION == "3.11-ubi9": if VERSION == "3.11-ubi8" or VERSION == "3.11-ubi9":
branch_to_test = "4.2.x" branch_to_test = "4.2.x"
elif VERSION == "3.9-ubi9":
branch_to_test = "2.2.x"
else: else:
branch_to_test = "master" branch_to_test = "master"
expected_output = "Welcome to your Django application" expected_output = "Welcome to your Django application"
@ -44,6 +46,8 @@ class TestDancerAppExTemplate:
def test_template_by_request(self): def test_template_by_request(self):
if VERSION == "3.11-ubi8" or VERSION == "3.11-ubi9": if VERSION == "3.11-ubi8" or VERSION == "3.11-ubi9":
branch_to_test = "4.2.x" branch_to_test = "4.2.x"
elif VERSION == "3.9-ubi9":
branch_to_test = "2.2.x"
else: else:
branch_to_test = "master" branch_to_test = "master"
expected_output = "Welcome to your Django application" expected_output = "Welcome to your Django application"


Loading…
Cancel
Save