summaryrefslogtreecommitdiff
path: root/testing/tests/server/test_auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/server/test_auth.py')
-rw-r--r--testing/tests/server/test_auth.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/tests/server/test_auth.py b/testing/tests/server/test_auth.py
index 3ff738f2..0e6baba3 100644
--- a/testing/tests/server/test_auth.py
+++ b/testing/tests/server/test_auth.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# test_auth.py
-# Copyright (C) 2013 LEAP
+# Copyright (C) 2017 LEAP
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@ from twisted.cred.error import UnauthorizedLogin
from twisted.internet.defer import inlineCallbacks
from twisted.trial import unittest
from twisted.web.resource import IResource
+from twisted.web.test import test_httpauth
from leap.soledad.server.auth import SoledadRealm
from leap.soledad.server.auth import TokenChecker
@@ -80,9 +81,6 @@ class TokenCheckerTestCase(unittest.TestCase):
yield checker.requestAvatarId(creds)
-from twisted.web.test import test_httpauth
-
-
class TokenCredentialFactoryTestcase(
test_httpauth.RequestMixin, test_httpauth.BasicAuthTestsMixin,
unittest.TestCase):