Exemplo n.º 1
0
 def test_user_profile(self):
     profile = r.load_user_profile(info=None)
     assert profile
     assert ('url' in profile)
     assert ('id' in profile)
     assert ('id_info' in profile)
     assert ('username' in profile)
     assert ('email' in profile)
     assert ('email_verified' in profile)
     assert ('first_name' in profile)
     assert ('last_name' in profile)
     assert ('origin' in profile)
     assert ('profile_name' in profile)
     assert ('created_at' in profile)
Exemplo n.º 2
0
 def test_user_profile(self):
     profile = r.load_user_profile(info=None)
     self.assertEqual(profile['url'], "https://{}".format(self.user))
     self.assertEqual(profile['username'], self.username)
Exemplo n.º 3
0
 def test_user_profile(self):
     profile = r.load_user_profile(info=None)
     assert profile