def setUp(self): self.new_info =Info("kelvin.kiprono","kiprono.kelvin")
def setUp(self): self.new_info = Info("ryan.munge", "rayn.munge")
def test_delete_info(self): self.new_info.save_info() test_info = Info("kip.43","kip.43") test_info.save_info() test_info.delete_info() self.assertEqual(len(Info.info_list),1)
def create_credentials(face_bookp, e_mailp): new_cred = Info(face_bookp, e_mailp) return new_cred
def create_credentials(linkedInp,e_mailp): new_cred = Info(linkedInp,e_mailp) return new_cred
def setUp(self): self.new_info =Info("amimo.matete","amimo.matete")
def test_delete_info(self): self.new_info.save_info() test_info = Info("amimo.matete","amimo.matete") test_info.save_info() test_info.delete_info() self.assertEqual(len(Info.info_list),1)
def setUp(self): self.new_info = Info("collins.kariuki", "kariuki.collins")
def test_delete_info(self): self.new_info.save_info() test_info = Info("agens.89", "agnes.89") test_info.save_info() test_info.delete_info() self.assertEqual(len(Info.info_list), 1)
def setUp(self): self.new_info = Info("mary.anne", "anne.mary")