Loading django/contrib/admin/tests.py +2 −2 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase): @classmethod def tearDownClass(cls): super(AdminSeleniumWebDriverTestCase, cls).tearDownClass() if hasattr(cls, 'selenium'): cls.selenium.quit() super(AdminSeleniumWebDriverTestCase, cls).tearDownClass() def wait_until(self, callback, timeout=10): """ Loading docs/topics/testing.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1922,8 +1922,8 @@ Then, add a ``LiveServerTestCase``-based test to your app's tests module @classmethod def tearDownClass(cls): super(MySeleniumTests, cls).tearDownClass() cls.selenium.quit() super(MySeleniumTests, cls).tearDownClass() def test_login(self): self.selenium.get('%s%s' % (self.live_server_url, '/login/')) Loading Loading
django/contrib/admin/tests.py +2 −2 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase): @classmethod def tearDownClass(cls): super(AdminSeleniumWebDriverTestCase, cls).tearDownClass() if hasattr(cls, 'selenium'): cls.selenium.quit() super(AdminSeleniumWebDriverTestCase, cls).tearDownClass() def wait_until(self, callback, timeout=10): """ Loading
docs/topics/testing.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1922,8 +1922,8 @@ Then, add a ``LiveServerTestCase``-based test to your app's tests module @classmethod def tearDownClass(cls): super(MySeleniumTests, cls).tearDownClass() cls.selenium.quit() super(MySeleniumTests, cls).tearDownClass() def test_login(self): self.selenium.get('%s%s' % (self.live_server_url, '/login/')) Loading