Ejemplo n.º 1
0
 def test_get20Chats(self):
     ChatL=getChats(20)
     print ChatL
     self.assertEqual(len(ChatL), 20, ' retieved less than 20  items')
     pass
Ejemplo n.º 2
0
    def getChats(self,num=20):
        ChatL=getChats(num)
#        print len(ChatL)
        self.assertEqual(len(ChatL), num, ' retieved less than'+str(num)+'items')
        pass