Proper test clean up

parent 0d7b049d
...@@ -87,7 +87,11 @@ class ZPTMacros(unittest.TestCase): ...@@ -87,7 +87,11 @@ class ZPTMacros(unittest.TestCase):
This is in the slot This is in the slot
</p> </p>
</div> </div>
""" """
def tearDown(self):
transaction.abort()
self.app._p_jar.close()
def testMacroExpansion(self): def testMacroExpansion(self):
request = self.app.REQUEST request = self.app.REQUEST
......
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