Browse Source

Use proper branch for import

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

+ 2
- 2
tests/test_django.py View File

@ -32,7 +32,7 @@ class TestDjangoAppExTemplate:
branch_to_test = "master" branch_to_test = "master"
expected_output = "Welcome to your Django application" expected_output = "Welcome to your Django application"
template_json = self.oc_api.get_raw_url_for_json( 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( assert self.oc_api.deploy_template(
template=template_json, name_in_template="django-example", expected_output=expected_output, template=template_json, name_in_template="django-example", expected_output=expected_output,
@ -52,7 +52,7 @@ class TestDjangoAppExTemplate:
branch_to_test = "master" branch_to_test = "master"
expected_output = "Welcome to your Django application" expected_output = "Welcome to your Django application"
template_json = self.oc_api.get_raw_url_for_json( 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( assert self.oc_api.deploy_template(
template=template_json, name_in_template="django-example", expected_output=expected_output, template=template_json, name_in_template="django-example", expected_output=expected_output,


Loading…
Cancel
Save