Skip to content

Commit e56ff3c

Browse files
committed
ref(tests): since Django 1.7 tests are auto detected based on test*.py
https://docs.djangoproject.com/en/1.7/topics/testing/overview/ When you run your tests, the default behavior of the test utility is to find all the test cases (that is, subclasses of unittest.TestCase) in any file whose name begins with test, automatically build a test suite out of those test cases, and run that suite.
1 parent 5afae01 commit e56ff3c

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

rootfs/api/tests/__init__.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,3 @@ def mock_status_ok(*args, **kwargs):
2424

2525
def mock_none(*args, **kwargs):
2626
return None
27-
28-
from .test_api_middleware import * # noqa
29-
from .test_app import * # noqa
30-
from .test_auth import * # noqa
31-
from .test_build import * # noqa
32-
from .test_certificate import * # noqa
33-
from .test_config import * # noqa
34-
from .test_container import * # noqa
35-
from .test_domain import * # noqa
36-
from .test_healthcheck import * # noqa
37-
from .test_hooks import * # noqa
38-
from .test_key import * # noqa
39-
from .test_limits import * # noqa
40-
from .test_perm import * # noqa
41-
from .test_release import * # noqa
42-
from .test_scheduler import * # noqa
43-
from .test_users import * # noqa

0 commit comments

Comments
 (0)