We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb65ec5 commit 4d3d27bCopy full SHA for 4d3d27b
openwisp_controller/config/tests/test_device_group.py
@@ -11,6 +11,7 @@
11
from ..signals import group_templates_changed
12
from .utils import CreateDeviceGroupMixin, CreateDeviceMixin, CreateTemplateMixin
13
14
+Config = load_model("config", "Config")
15
Device = load_model("config", "Device")
16
DeviceGroup = load_model("config", "DeviceGroup")
17
Template = load_model("config", "Template")
@@ -96,8 +97,6 @@ def test_manage_devices_group_templates_no_early_termination(self):
96
97
organization=org,
98
mac_address="00:00:00:00:00:02",
99
)
- from openwisp_controller.config.tests.utils import Config
100
-
101
Config.objects.create(
102
device=device2,
103
backend="netjsonconfig.OpenWrt",
0 commit comments