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