Changes between Initial Version and Version 1 of Ticket #24618


Ignore:
Timestamp:
Apr 10, 2015, 6:14:51 AM (10 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24618 – Description

    initial v1  
    33Details of this bug are in the ticket but over view is
    44
    5 I have an app with construct
    6 
    7 ```
    8 project_name.apps.core
    9 ```
     5I have an app with construct: `project_name.apps.core`
    106
    117Consistently got: when running tests
    128
    13 ```
     9{{{
    1410django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: core
    15 ```
     11}}}
    1612
    1713Despite absolutely no chance of it being duplicate;
     
    1915print of apps form within registry.py
    2016
    21 ```
     17{{{
    2218('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}}}
    2420
    2521Considered it being a conflict with django.core (but seems not to be the case)
     
    2723Am using a custom test runner
    2824
    29 ```
     25{{{
    3026class AppTestRunner(DiscoverRunner):
    3127    def build_suite(self, test_labels, *args, **kwargs):
     
    3531
    3632        return super(AppTestRunner, self).build_suite(test_labels, *args, **kwargs)
    37 ```
     33}}}
    3834
    3935As you can see the runner runs test tests from ONLY the project and not the dango/helper app test cases
Back to Top