Skip to content

Commit

Permalink
Use proper branch for import
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Mar 20, 2024
1 parent 7919e26 commit fad5f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_template_inside_cluster(self):
branch_to_test = "master"
expected_output = "Welcome to your Django application"
template_json = self.oc_api.get_raw_url_for_json(
container="django-ex", dir="openshift/templates", filename="django.json"
container="django-ex", branch=branch_to_test, dir="openshift/templates", filename="django.json"
)
assert self.oc_api.deploy_template(
template=template_json, name_in_template="django-example", expected_output=expected_output,
Expand All @@ -52,7 +52,7 @@ def test_template_by_request(self):
branch_to_test = "master"
expected_output = "Welcome to your Django application"
template_json = self.oc_api.get_raw_url_for_json(
container="django-ex", dir="openshift/templates", filename="django.json"
container="django-ex", branch=branch_to_test, dir="openshift/templates", filename="django.json"
)
assert self.oc_api.deploy_template(
template=template_json, name_in_template="django-example", expected_output=expected_output,
Expand Down

0 comments on commit fad5f17

Please sign in to comment.