Пример #1
0
 def testGetNextPage_Downloads(self):
     builder = URLBuilder(Sort.DOWNLOADS)
     self.assertEquals(
             'http://interfacelift.com/wallpaper/downloads/downloads/any/index1.html',
             builder.getnextpage(), 'url is incorrect')
Пример #2
0
 def testGetNextPage_Rating(self):
     builder = URLBuilder(Sort.RATING)
     self.assertEquals(
             'http://interfacelift.com/wallpaper/downloads/rating/any/index1.html',
             builder.getnextpage(), 'url is incorrect')