Example #1
0
 def test_set_password(self):
     """
     Test User.set_password().
     """
     user = User(username=Config.username)
     user.set_password(Config.password)
     assert hashcmp(user.password, Config.password)