From 4b4a2a5977a1dff505de6f65da7e85ca2516e4c5 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 08:24:39 +0200 Subject: [PATCH] [PR #8325/feb443d2 backport][stable-7] Fix django_manage tests (#8327) Fix django_manage tests (#8325) Ensure that manage.py is executable. (cherry picked from commit feb443d260ca5fa24f870c483e33f71c4cc18398) Co-authored-by: Felix Fontein --- tests/integration/targets/django_manage/tasks/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/targets/django_manage/tasks/main.yaml b/tests/integration/targets/django_manage/tasks/main.yaml index c07b538938..5307fb6642 100644 --- a/tests/integration/targets/django_manage/tasks/main.yaml +++ b/tests/integration/targets/django_manage/tasks/main.yaml @@ -43,6 +43,11 @@ chdir: "{{ tmp_django_root.path }}/startproj" cmd: "{{ tmp_django_root.path }}/venv/bin/django-admin startapp app1" +- name: Make manage.py executable + file: + path: "{{ tmp_django_root.path }}/startproj/test_django_manage_1/manage.py" + mode: "0755" + - name: Check community.general.django_manage: project_path: "{{ tmp_django_root.path }}/startproj/test_django_manage_1"