Skip to content

Commit

Permalink
fix intermittent test failure resulting from login timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofgentoo committed Nov 14, 2018
1 parent ee40a4b commit cde083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keg_auth/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_token_validation(self):

def test_token_salt_info_changed(self):
def check_field(field, new_value):
user = ents.User.testing_create()
user = ents.User.testing_create(last_login_utc=None)
token = user.token_generate()
setattr(user, field, new_value)
db.session.flush()
Expand Down

0 comments on commit cde083b

Please sign in to comment.