From d8f864596ea5575b4d3f08f11bc17b71d6d51f98 Mon Sep 17 00:00:00 2001 From: Ross Patterson Date: Thu, 14 Apr 2011 19:05:31 +0000 Subject: [PATCH] The functional tests haven't been running due to an unused import svn path=/plone.app.discussion/trunk/; revision=48835 --- plone/app/discussion/tests/test_functional.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plone/app/discussion/tests/test_functional.py b/plone/app/discussion/tests/test_functional.py index 802428e..edaa939 100644 --- a/plone/app/discussion/tests/test_functional.py +++ b/plone/app/discussion/tests/test_functional.py @@ -8,14 +8,13 @@ import doctest try: import unittest2 as unittest import pprint - import interlude from plone.testing import layered from plone.app.discussion.testing import \ PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING PLONE4 = True -except: +except ImportError: import unittest PLONE4 = False @@ -32,8 +31,7 @@ if PLONE4: suite.addTests([ layered(doctest.DocFileSuite(test , optionflags=optionflags, - globs={'interact': interlude.interact, - 'pprint': pprint.pprint, + globs={'pprint': pprint.pprint, } ), layer=PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING)