mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Adjusted django_manage integration test files to reduce ignore lines in sanity tests (#1805)
This commit is contained in:
parent
367c3c43ff
commit
e247300523
7 changed files with 17 additions and 34 deletions
|
@ -1,12 +1,18 @@
|
||||||
#! /usr/bin/env python3
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from __future__ import absolute_import, division, print_function
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
# single_app_project/manage.py
|
# single_app_project/manage.py
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'single_app_project.core.settings')
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'single_app_project.core.settings')
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
execute_from_command_line(sys.argv)
|
execute_from_command_line(sys.argv)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
from __future__ import absolute_import, division, print_function
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
"""Django's command-line utility for administrative tasks."""
|
"""Django's command-line utility for administrative tasks."""
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
from __future__ import absolute_import, division, print_function
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Django settings for p1 project.
|
Django settings for p1 project.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
from __future__ import absolute_import, division, print_function
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
"""p1 URL Configuration
|
"""p1 URL Configuration
|
||||||
|
|
||||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||||
|
|
|
@ -365,18 +365,7 @@ plugins/modules/system/xfconf.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/system/xfconf.py validate-modules:return-syntax-error
|
plugins/modules/system/xfconf.py validate-modules:return-syntax-error
|
||||||
plugins/modules/web_infrastructure/jenkins_plugin.py use-argspec-type-path
|
plugins/modules/web_infrastructure/jenkins_plugin.py use-argspec-type-path
|
||||||
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E302 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E305 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py shebang # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py future-import-boilerplate # django generated code
|
|
||||||
tests/utils/shippable/check_matrix.py replace-urlopen
|
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||||
tests/utils/shippable/timing.py shebang
|
tests/utils/shippable/timing.py shebang
|
||||||
|
|
|
@ -364,18 +364,7 @@ plugins/modules/system/xfconf.py validate-modules:parameter-state-invalid-choice
|
||||||
plugins/modules/system/xfconf.py validate-modules:return-syntax-error
|
plugins/modules/system/xfconf.py validate-modules:return-syntax-error
|
||||||
plugins/modules/web_infrastructure/jenkins_plugin.py use-argspec-type-path
|
plugins/modules/web_infrastructure/jenkins_plugin.py use-argspec-type-path
|
||||||
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E302 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E305 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py shebang # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py future-import-boilerplate # django generated code
|
|
||||||
tests/utils/shippable/check_matrix.py replace-urlopen
|
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||||
tests/utils/shippable/timing.py shebang
|
tests/utils/shippable/timing.py shebang
|
||||||
|
|
|
@ -320,18 +320,7 @@ plugins/modules/web_infrastructure/jenkins_plugin.py use-argspec-type-path
|
||||||
plugins/modules/web_infrastructure/nginx_status_facts.py validate-modules:deprecation-mismatch
|
plugins/modules/web_infrastructure/nginx_status_facts.py validate-modules:deprecation-mismatch
|
||||||
plugins/modules/web_infrastructure/nginx_status_facts.py validate-modules:invalid-documentation
|
plugins/modules/web_infrastructure/nginx_status_facts.py validate-modules:invalid-documentation
|
||||||
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
plugins/modules/web_infrastructure/rundeck_acl_policy.py pylint:blacklisted-name
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E302 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py pep8:E305 # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/1045-single-app-project/single_app_project/manage.py shebang # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.6 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py compile-2.7 # django generated code
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/manage.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/settings.py future-import-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py metaclass-boilerplate # django generated code
|
|
||||||
tests/integration/targets/django_manage/files/base_test/simple_project/p1/p1/urls.py future-import-boilerplate # django generated code
|
|
||||||
tests/utils/shippable/check_matrix.py replace-urlopen
|
tests/utils/shippable/check_matrix.py replace-urlopen
|
||||||
tests/utils/shippable/timing.py shebang
|
tests/utils/shippable/timing.py shebang
|
||||||
|
|
Loading…
Reference in a new issue