def testSearchEverything1(self): results = search_files("s3.mediasnak.com",0,"default","file") count = 0 #for item in results: # count = count + 1 count = len(results) self.assertEquals(count, 4)
def testSeachUploadTime2(self): results = search_files("s3.mediasnak.com",0,"uploadtime","2000") count = 0 for item in results: count = count + 1 self.assertEquals(count,3)
def testSearchFileName2(self): results = search_files("s3.mediasnak.com",0,"filename","file") count = 0 for item in results: count = count + 1 self.assertEquals(count,3)
def testSearchEverything2(self): results = search_files("s3.mediasnak.com",0,"default","1") count = 0 for item in results: count = count + 1 self.assertEquals(count,3)