mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #8325/feb443d2 backport][stable-8] Fix django_manage tests (#8328)
Fix django_manage tests (#8325)
Ensure that manage.py is executable.
(cherry picked from commit feb443d260
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c2900e7dec
commit
f1d865f318
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue