Exemplo n.º 1
0
 def test_save_user_and_find(self):
     User('Jan', 'email', 'picture', OAUTH2_ID).add()
     user = User.get_by_oauth2_id(OAUTH2_ID)
     assert user is not None
Exemplo n.º 2
0
 def test_save_user(self):
     user = User('Jan', 'email', 'picture', OAUTH2_ID).add()
     assert user is not None