From feb443d260ca5fa24f870c483e33f71c4cc18398 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 7 May 2024 07:50:26 +0200 Subject: [PATCH] Fix django_manage tests (#8325) Ensure that manage.py is executable. --- 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"