def testGetNextPage_Downloads(self): builder = URLBuilder(Sort.DOWNLOADS) self.assertEquals( 'http://interfacelift.com/wallpaper/downloads/downloads/any/index1.html', builder.getnextpage(), 'url is incorrect')
def testGetNextPage_Rating(self): builder = URLBuilder(Sort.RATING) self.assertEquals( 'http://interfacelift.com/wallpaper/downloads/rating/any/index1.html', builder.getnextpage(), 'url is incorrect')