--- a/Allura/allura/tests/test_security.py
+++ b/Allura/allura/tests/test_security.py
@@ -1,21 +1,18 @@
-from unittest import TestCase
-from allura import model as M
-from allura.lib import plugin
-
+from allura.tests import decorators as td
from allura.tests import TestController
-
-from alluratest.controller import setup_basic_test, setup_unit_test
class TestSecurity(TestController):
validate_skip = True
+ @td.with_wiki
def test_anon(self):
self.app.get('/security/*anonymous/forbidden', status=302)
self.app.get('/security/*anonymous/needs_auth', status=302)
self.app.get('/security/*anonymous/needs_project_access_fail', status=302)
self.app.get('/security/*anonymous/needs_artifact_access_fail', status=302)
+ @td.with_wiki
def test_auth(self):
self.app.get('/security/test-admin/forbidden', status=403)
self.app.get('/security/test-admin/needs_auth', status=200)