#24618: Incorrect duplicate app message shown when no duplicates found
-----------------------------------+--------------------------------------
Reporter: rosscdh | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Comment (by rosscdh):
Hi there app setup and test runner below.
```
DJANGO_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
)
PROJECT_APPS = (
'my_project.apps.v2_api',
'my_project.apps.v1_api',
'my_project.apps.applications',
'my_project.apps.backend',
'my_project.apps.core',
'my_project.apps.tools',
'my_project.apps.me',
'my_project.apps.brand',
'my_project.apps.workorder',
'my_project.apps.batch',
'my_project.apps.printer',
'my_project.apps.scan',
'my_project.apps.code',
'my_project.apps.dash',
'my_project.apps.role_permission',
)
HELPER_APPS = (
'pipeline',
'registration',
'password_reset',
'django_extensions',
'raven.contrib.django.raven_compat',
'parsley',
'corsheaders',
'crispy_forms',
'rest_framework',
)
INSTALLED_APPS = DJANGO_APPS + PROJECT_APPS + HELPER_APPS
```
```
from django.test.runner import DiscoverRunner
class AppTestRunner(DiscoverRunner):
def build_suite(self, test_labels, *args, **kwargs):
# not args passed in
if not test_labels:
test_labels = settings.PROJECT_APPS
return super(AppTestRunner, self).build_suite(test_labels, *args,
**kwargs)
```
--
Ticket URL: <https://code.djangoproject.com/ticket/24618#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.c1c0cec98580f082a64435da456e5e38%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.