This commit is contained in:
Tom Christie 2015-02-09 17:22:13 +00:00
parent 54d82f59ed
commit 0669f507b3

View File

@ -270,8 +270,8 @@ class TestUserSetter(TestCase):
else:
assert False, 'AttributeError not raised'
class TestAuthSetter(TestCase):
class TestAuthSetter(TestCase):
def test_auth_can_be_set(self):
request = Request(factory.get('/'))
request.auth = 'DUMMY'