예제 #1
0
파일: tests.py 프로젝트: prabhu/macutils
 def testGetByUID(self):
     """ Test getByUID """
     allr = addressbook.all()
     for a in allr:
         self.assert_(addressbook.getByUID(a['uid']))
         break
예제 #2
0
파일: tests.py 프로젝트: prabhu/macutils
 def testAll(self):
     """ Test retrieving all records """
     self.assert_(addressbook.all())