mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Added test
This commit is contained in:
@@ -96,6 +96,12 @@ class FilterSetViewSetTestCase(PatcherMixin, ModoAPITestCase):
|
||||
resp = self.client.post(url)
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
|
||||
def test_deactivate_active(self):
|
||||
self.authenticate()
|
||||
url = reverse("v2:filterset-deactivate-active")
|
||||
resp = self.client.post(url)
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
|
||||
def test_download(self):
|
||||
self.authenticate()
|
||||
url = reverse("v2:filterset-download", args=["unknown"])
|
||||
|
||||
Reference in New Issue
Block a user