|
|
@@ -86,6 +86,14 @@ class PluginTest(TestCase):
|
|
|
"""
|
|
|
self.assertIn('extras.tests.dummy_plugin.*', settings.CACHEOPS)
|
|
|
|
|
|
+ def test_queues(self):
|
|
|
+ """
|
|
|
+ Check that plugin queues are registered with the accurate name.
|
|
|
+ """
|
|
|
+ self.assertIn('extras.tests.dummy_plugin.testing-low', settings.RQ_QUEUES)
|
|
|
+ self.assertIn('extras.tests.dummy_plugin.testing-medium', settings.RQ_QUEUES)
|
|
|
+ self.assertIn('extras.tests.dummy_plugin.testing-high', settings.RQ_QUEUES)
|
|
|
+
|
|
|
def test_min_version(self):
|
|
|
"""
|
|
|
Check enforcement of minimum NetBox version.
|