Skip to content

Commit

Permalink
Fix test isolation problems
Browse files Browse the repository at this point in the history
Doing transaction commits on integration layers breaks test isolation.

Fixes:
#326
  • Loading branch information
gforcada committed Feb 18, 2016
1 parent f145ccc commit f741a86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plone/app/contenttypes/tests/test_document.py
Expand Up @@ -15,7 +15,6 @@
from zope.component import queryUtility
from zope.interface import alsoProvides

import transaction
import unittest2 as unittest


Expand Down Expand Up @@ -83,7 +82,6 @@ def test_view(self):
def tearDown(self):
if 'document' in self.portal.objectIds():
self.portal.manage_delObjects(ids='document')
transaction.commit()


class DocumentFunctionalTest(unittest.TestCase):
Expand Down

0 comments on commit f741a86

Please sign in to comment.