Changes between Initial Version and Version 1 of Ticket #24618
- Timestamp:
- Apr 10, 2015, 6:14:51 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24618 – Description
initial v1 3 3 Details of this bug are in the ticket but over view is 4 4 5 I have an app with construct 6 7 ``` 8 project_name.apps.core 9 ``` 5 I have an app with construct: `project_name.apps.core` 10 6 11 7 Consistently got: when running tests 12 8 13 ``` 9 {{{ 14 10 django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: core 15 ``` 11 }}} 16 12 17 13 Despite absolutely no chance of it being duplicate; … … 19 15 print of apps form within registry.py 20 16 21 ``` 17 {{{ 22 18 ('project_name.apps.v2_api', 'project_name.apps.v1_api', 'project_name.apps.applications', 'project_name.apps.backend', 'project_name.apps.core', 'project_name.apps.tools', 'project_name.apps.me', 'project_name.apps.brand', 'project_name.apps.workorder', 'project_name.apps.batch', 'project_name.apps.printer', 'project_name.apps.scan', 'project_name.apps.code', 'project_name.apps.dash', 'project_name.apps.role_permission') 23 ``` 19 }}} 24 20 25 21 Considered it being a conflict with django.core (but seems not to be the case) … … 27 23 Am using a custom test runner 28 24 29 ``` 25 {{{ 30 26 class AppTestRunner(DiscoverRunner): 31 27 def build_suite(self, test_labels, *args, **kwargs): … … 35 31 36 32 return super(AppTestRunner, self).build_suite(test_labels, *args, **kwargs) 37 ``` 33 }}} 38 34 39 35 As you can see the runner runs test tests from ONLY the project and not the dango/helper app test cases