Kaydet (Commit) c8703189 authored tarafından Julien Phalip's avatar Julien Phalip

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
üst a65eed39
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment