Proper test clean up

parent 0d7b049d
......@@ -89,6 +89,10 @@ class ZPTMacros(unittest.TestCase):
</div>
"""
def tearDown(self):
transaction.abort()
self.app._p_jar.close()
def testMacroExpansion(self):
request = self.app.REQUEST
self._addPT('pt1', text=self.text, REQUEST=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