コード例 #1
0
ファイル: run.py プロジェクト: SamNgigi/Contact-List
def display():
    """  
    Returns a list of all the save contacts
  """
    return Contact.display_contacts()
コード例 #2
0
ファイル: contact_test.py プロジェクト: SamNgigi/Contact-List
    def test_display_contacts(self):
        """  
      Test if our display_contact method will return all our contacts
    """

        self.assertTrue(Contact.display_contacts() == Contact.contact_list)