Ejemplo n.º 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()
Ejemplo n.º 2
0
 def setUp(self):
     self.site = Letterboxd(None)
Ejemplo n.º 3
0
 def __init__(self, args):
     super(LetterboxdRatingsParser, self).__init__(Letterboxd(args), args)
     self.downloaded_file_name = 'ratings.csv'
Ejemplo n.º 4
0
 def __init__(self, args):
     super(LetterboxdRatingsParser, self).__init__(Letterboxd(args), args)
Ejemplo n.º 5
0
 def __init__(self, args):
     super(LetterboxdRatingsInserter, self).__init__(Letterboxd(args), args)
     self.progress_counter_selector = '.import-progress #import-count strong'