Commit a0ad2b86 authored by Vincent Pelletier's avatar Vincent Pelletier

Make threaded test suite executable as a stand-alone module.

parent 5b91bcef
......@@ -18,6 +18,7 @@
import threading
import transaction
import unittest
from thread import get_ident
from persistent import Persistent
from neo.storage.transactions import TransactionManager, \
......@@ -384,3 +385,6 @@ class Test(NEOThreadedTest):
t1, = cluster.client.undoLog(0, 10)
finally:
cluster.stop()
if __name__ == "__main__":
unittest.main()
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