mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.4.X] Fixed #19051 - Fixed Selenium tearDownClass method; thanks glarrain for the report.
Backport of a1a5c0854f from master
This commit is contained in:
@@ -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/'))
|
||||
|
||||
Reference in New Issue
Block a user