Commit 396a7ca5 authored by Jim Fulton's avatar Jim Fulton

Added missing abourt to tear-down code

parent bfaf25f0
...@@ -41,6 +41,7 @@ def tearDown(test): ...@@ -41,6 +41,7 @@ def tearDown(test):
del sys.modules['ZClasses.example'] del sys.modules['ZClasses.example']
def tearDown27(test): def tearDown27(test):
transaction.abort()
test.globs['db'].close() test.globs['db'].close()
indexname = os.path.join(os.path.dirname(__file__), '27.fs.index') indexname = os.path.join(os.path.dirname(__file__), '27.fs.index')
os.remove(indexname) os.remove(indexname)
......
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