Skip to content

Commit

Permalink
Use Django 4.2.x for Python 3.9+ and 2.2.x for 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzymadness committed Jan 21, 2025
1 parent bc0f7d6 commit 3750a7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/run
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,12 @@ test_application() {

test_from_dockerfile(){
info "Test from Dockerfile"
{% if spec.version == "3.6" %}
django_example_repo_url="https://github.com/sclorg/[email protected]"
{% else %}
# Django 4.2 supports Python 3.9+
django_example_repo_url="https://github.com/sclorg/[email protected]"
{% endif %}

ct_test_app_dockerfile $test_dir/from-dockerfile/Dockerfile.tpl $django_example_repo_url 'Welcome to your Django application on OpenShift' app-src
ct_check_testcase_result $?
Expand Down

0 comments on commit 3750a7d

Please sign in to comment.