1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix django_manage tests (#8325)

Ensure that manage.py is executable.
This commit is contained in:
Felix Fontein 2024-05-07 07:50:26 +02:00 committed by GitHub
parent bc609d74a0
commit feb443d260
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,6 +43,11 @@
chdir: "{{ tmp_django_root.path }}/startproj" chdir: "{{ tmp_django_root.path }}/startproj"
cmd: "{{ tmp_django_root.path }}/venv/bin/django-admin startapp app1" 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 - name: Check
community.general.django_manage: community.general.django_manage:
project_path: "{{ tmp_django_root.path }}/startproj/test_django_manage_1" project_path: "{{ tmp_django_root.path }}/startproj/test_django_manage_1"