Work to merge develop and resolve unit tests
This commit is contained in:
parent
981119b640
commit
585cca90ae
4 changed files with 339 additions and 333 deletions
|
|
@ -115,7 +115,7 @@ class TestDefaultAccountAuth(EvenniaTest):
|
|||
|
||||
def test_throttle(self):
|
||||
"Confirm throttle activates on too many failures."
|
||||
for x in xrange(20):
|
||||
for x in range(20):
|
||||
obj, errors = DefaultAccount.authenticate(self.account.name, 'xyzzy', ip='12.24.36.48')
|
||||
self.assertFalse(obj, 'Authentication was provided a bogus password; this should NOT have returned an account!')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue