-
-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
Description
- admin theme
-
DependencyLoaderand relative tests -
DependencyFinderand relative tests -
TimeStampedEditableModel - TimeReadonlyMixin, maybe we can rename this to
TimeReadonlyAdminMixin -
MultitenantAdminMixinand relative tests -
MultitenantOrgFilterand relative tests -
MultitenantObjectFilterand relative tests
Tests
The tests will be the tricky part, we should ensure some test classes can be reused (the multitenant admin for example), so we move the main test logic to this module and in the other modules we just import the test classes and repeat them there to ensure the integration works correctly, there's an example of this technique in openwisp-controller, which imports the openwisp-users admin tests.
In the case of openwisp-controller, importing the admin tests from openwisp-users was necessary because an integration bug was not spotted during development until it went into production.