Example #1
0
 def testGetByUID(self):
     """ Test getByUID """
     allr = addressbook.all()
     for a in allr:
         self.assert_(addressbook.getByUID(a['uid']))
         break
Example #2
0
 def testAll(self):
     """ Test retrieving all records """
     self.assert_(addressbook.all())