From e1bbf3b6bc8a10cfea9c3101434b13d202637830 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Sun, 19 Feb 2012 16:53:55 +0000 Subject: [PATCH] Moved an import statement to handle the case where selenium isn't installed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17563 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/tests.py b/django/contrib/admin/tests.py index 26618dce07..7c4aebeca3 100644 --- a/django/contrib/admin/tests.py +++ b/django/contrib/admin/tests.py @@ -1,5 +1,4 @@ import sys -from selenium.common.exceptions import NoSuchElementException from django.test import LiveServerTestCase from django.utils.importlib import import_module @@ -79,6 +78,7 @@ class AdminSeleniumWebDriverTestCase(LiveServerTestCase): Helper function to select the