Stopped hiding the original exception's message when a selenium driver's instantiation fails.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a65eed3942
commit
c870318996
|
@ -18,9 +18,9 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase):
|
||||||
mod = import_module(module)
|
mod = import_module(module)
|
||||||
WebDriver = getattr(mod, attr)
|
WebDriver = getattr(mod, attr)
|
||||||
cls.selenium = WebDriver()
|
cls.selenium = WebDriver()
|
||||||
except Exception:
|
except Exception, e:
|
||||||
raise SkipTest('Selenium webdriver "%s" not installed or not '
|
raise SkipTest('Selenium webdriver "%s" not installed or not '
|
||||||
'operational.' % cls.webdriver_class)
|
'operational: %s' % (cls.webdriver_class, str(e)))
|
||||||
super(AdminSeleniumWebDriverTestCase, cls).setUpClass()
|
super(AdminSeleniumWebDriverTestCase, cls).setUpClass()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue