mirror of
https://github.com/Hopiu/django.git
synced 2026-05-13 10:03:09 +00:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -18,9 +18,9 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase):
|
|||
mod = import_module(module)
|
||||
WebDriver = getattr(mod, attr)
|
||||
cls.selenium = WebDriver()
|
||||
except Exception:
|
||||
except Exception, e:
|
||||
raise SkipTest('Selenium webdriver "%s" not installed or not '
|
||||
'operational.' % cls.webdriver_class)
|
||||
'operational: %s' % (cls.webdriver_class, str(e)))
|
||||
super(AdminSeleniumWebDriverTestCase, cls).setUpClass()
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue