Esempio n. 1
0
 def test_get_group(self):
     api = li.mgc_handle()
     profile_id = api.get_profile().id
     
     groups = api.get_groups(profile_id)
     self.assertNotEqual(len(groups), 0)
     self.assertIsNotNone(groups[0].name)
Esempio n. 2
0
 def test_handle(self):
     api = li.mgc_handle()
     self.assertIsNotNone(api)
     self.assertEqual(api.get_profile().last_name, "Champion")