def setUp(self): self.tmpfilepath = tempfile.mktemp() self.tmpdirpath = os.path.join(tempfile.gettempdir(), 'testdb') self.flist = ExternalFriendList(friend_file=self.tmpfilepath, db_dir=self.tmpdirpath)
def xxtest_normal(self): flist = ExternalFriendList() flist.updateFriendList() friends = flist.getFriends() print friends