def test_create_person(self): name = "Nate Ledford" twitter = "nateledford" result = Person.create_person(self.session, name, twitter=twitter) self.assertIsNotNone(result) self.assertEqual(result.Name, name) self.assertEqual(result.TwitterUserName, twitter)
def test_get_people(self): result = Person.get_people(self.session) self.assertIsNotNone(result) self.assertGreater(len(result), 0)