Skip to content

Commit 7c909e4

Browse files
committed
[chores] Moved test files to tests directory
Signed-off-by: DragnEmperor <[email protected]>
1 parent 930c8c9 commit 7c909e4

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

openwisp_controller/config/whois/tests/__init__.py

Whitespace-only changes.

openwisp_controller/config/whois/test_whois.py renamed to openwisp_controller/config/whois/tests/tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
from openwisp_utils.tests import SeleniumTestMixin
1717

18-
from ...tests.utils import TestAdminMixin
19-
from .. import settings as app_settings
20-
from .handlers import connect_whois_handlers
21-
from .tests_utils import CreateWHOISMixin, WHOISTransactionMixin
18+
from ....tests.utils import TestAdminMixin
19+
from ... import settings as app_settings
20+
from ..handlers import connect_whois_handlers
21+
from .utils import CreateWHOISMixin, WHOISTransactionMixin
2222

2323
Device = load_model("config", "Device")
2424
WHOISInfo = load_model("config", "WHOISInfo")

openwisp_controller/config/whois/tests_utils.py renamed to openwisp_controller/config/whois/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from django.urls import reverse
55
from swapper import load_model
66

7-
from ..tests.utils import CreateConfigMixin
7+
from ...tests.utils import CreateConfigMixin
88

99
Device = load_model("config", "Device")
1010
WHOISInfo = load_model("config", "WHOISInfo")

openwisp_controller/geo/estimated_location/tests/__init__.py

Whitespace-only changes.

openwisp_controller/geo/estimated_location/test_estimated_location.py renamed to openwisp_controller/geo/estimated_location/tests/tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
from openwisp_controller.config import settings as config_app_settings
1313
from openwisp_controller.config.whois.handlers import connect_whois_handlers
14-
from openwisp_controller.config.whois.tests_utils import WHOISTransactionMixin
14+
from openwisp_controller.config.whois.tests.utils import WHOISTransactionMixin
1515

16-
from ...tests.utils import TestAdminMixin
17-
from ..tests.utils import TestGeoMixin
18-
from .handlers import register_estimated_location_notification_types
19-
from .tests_utils import TestEstimatedLocationMixin
16+
from ....tests.utils import TestAdminMixin
17+
from ...tests.utils import TestGeoMixin
18+
from ..handlers import register_estimated_location_notification_types
19+
from .utils import TestEstimatedLocationMixin
2020

2121
Device = load_model("config", "Device")
2222
Location = load_model("geo", "Location")

openwisp_controller/geo/estimated_location/tests_utils.py renamed to openwisp_controller/geo/estimated_location/tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from swapper import load_model
22

3-
from openwisp_controller.config.whois.tests_utils import CreateWHOISMixin
3+
from openwisp_controller.config.whois.tests.utils import CreateWHOISMixin
44

55
OrganizationConfigSettings = load_model("config", "OrganizationConfigSettings")
66

0 commit comments

Comments
 (0)