Work to merge develop and resolve unit tests

This commit is contained in:
Griatch 2019-01-02 16:29:36 +01:00
parent 981119b640
commit 585cca90ae
4 changed files with 339 additions and 333 deletions

View file

@ -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!')