File tree Expand file tree Collapse file tree
tests/openwisp2/sample_config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- from openwisp_controller .config .tests .test_admin import TestAdmin as BaseTestAdmin
1+ from openwisp_controller .config .tests .test_admin import (
2+ TestAdmin as BaseTestAdmin ,
3+ TestTransactionAdmin as BaseTestTransactionAdmin ,
4+ )
25from openwisp_controller .config .tests .test_admin import (
36 TestDeviceGroupAdmin as BaseTestDeviceGroupAdmin ,
7+ TestDeviceGroupAdminTransaction as BaseTestDeviceGroupAdminTransaction ,
48)
59from openwisp_controller .config .tests .test_api import TestConfigApi as BaseTestConfigApi
610from openwisp_controller .config .tests .test_apps import TestApps as BaseTestApps
@@ -38,10 +42,18 @@ class TestAdmin(BaseTestAdmin):
3842 app_label = 'sample_config'
3943
4044
45+ class TestTransactionAdmin (BaseTestTransactionAdmin ):
46+ app_label = 'sample_config'
47+
48+
4149class TestDeviceGroupAdmin (BaseTestDeviceGroupAdmin ):
4250 app_label = 'sample_config'
4351
4452
53+ class TestDeviceGroupAdminTransaction (BaseTestDeviceGroupAdminTransaction ):
54+ app_label = 'sample_config'
55+
56+
4557class TestConfig (BaseTestConfig ):
4658 pass
4759
You can’t perform that action at this time.
0 commit comments