Commit 4ffbbca1 authored by Grégory Wisniewski's avatar Grégory Wisniewski

All functional test cases call super metod setUp().


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1271 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent b9ec4dbe
......@@ -22,6 +22,7 @@ from neo import protocol
class ClusterTests(NEOFunctionalTest):
def setUp(self):
NEOFunctionalTest.setUp(self)
self.neo = None
def tearDown(self):
......
......@@ -45,6 +45,7 @@ class Tree(Persistent):
class ImportExportTests(NEOFunctionalTest):
def setUp(self):
NEOFunctionalTest.setUp(self)
# create a neo cluster
databases = ['test_neo1', 'test_neo2']
self.neo = NEOCluster(databases, port_base=20000, master_node_count=2,
......
......@@ -28,6 +28,7 @@ MASTER_NODE_COUNT = 3
class MasterTests(NEOFunctionalTest):
def setUp(self):
NEOFunctionalTest.setUp(self)
self.neo = NEOCluster([], port_base=20000,
master_node_count=MASTER_NODE_COUNT,
temp_dir=self.getTempDirectory())
......
......@@ -35,6 +35,7 @@ OBJECT_NUMBER = 100
class StorageTests(NEOFunctionalTest):
def setUp(self):
NEOFunctionalTest.setUp(self)
self.neo = None
def tearDown(self):
......
......@@ -41,7 +41,7 @@ class DecoyIndependent(Persistent):
class ZODBTests(NEOFunctionalTest):
def setUp(self):
NEOFunctionalTest.setUp(self)
self.neo = NEOCluster(['test_neo1'],
partitions=1, replicas=0, port_base=20000,
master_node_count=1, temp_dir=self.getTempDirectory())
......
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