Beispiel #1
0
class MetacriticSiteTest(TestCase):
    def setUp(self):
        self.site = Metacritic(None)

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

    def tearDown(self):
        self.site.kill_browser()
Beispiel #2
0
 def setUp(self):
     self.site = Metacritic(None)
Beispiel #3
0
 def __init__(self, args):
     super(MetacriticRatingsInserter, self).__init__(Metacritic(args), args)