Пример #1
0
class LetterboxdSiteTest(TestCase):
    def setUp(self):
        self.site = Letterboxd(None)

    def test_login(self):
        self.assertIn(self.site.USERNAME, self.site.browser.page_source)

    def tearDown(self):
        self.site.kill_browser()
Пример #2
0
 def setUp(self):
     self.site = Letterboxd(None)
Пример #3
0
 def __init__(self, args):
     super(LetterboxdRatingsParser, self).__init__(Letterboxd(args), args)
     self.downloaded_file_name = 'ratings.csv'
Пример #4
0
 def __init__(self, args):
     super(LetterboxdRatingsParser, self).__init__(Letterboxd(args), args)
Пример #5
0
 def __init__(self, args):
     super(LetterboxdRatingsInserter, self).__init__(Letterboxd(args), args)
     self.progress_counter_selector = '.import-progress #import-count strong'