mirror of
https://github.com/nikdoof/django-testauth.git
synced 2025-12-17 19:59:26 +00:00
Update tests
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from auth import DredditAuthBackend
|
||||
from auth import TESTAuthBackend
|
||||
import unittest
|
||||
|
||||
class AuthLogin(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.auth = DredditAuthBackend()
|
||||
self.auth = TESTAuthBackend()
|
||||
|
||||
def testLogin(self):
|
||||
self.assertEquals(self.auth.authenticate(username='invaliduser', password='asdasd'), None)
|
||||
|
||||
Reference in New Issue
Block a user