Commit 22aee9a5 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Removeunused fake store monkeypatch for matrix report.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1808 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent aac43b45
...@@ -8,14 +8,11 @@ import traceback ...@@ -8,14 +8,11 @@ import traceback
from time import time from time import time
from neo.tests.functional import NEOCluster from neo.tests.functional import NEOCluster
from neo.client.Storage import Storage
from ZODB.FileStorage import FileStorage from ZODB.FileStorage import FileStorage
def run(masters, storages, replicas, partitions, datafs, verbose): def run(masters, storages, replicas, partitions, datafs, verbose):
print "Import of %s with m=%s, s=%s, r=%s, p=%s" % ( print "Import of %s with m=%s, s=%s, r=%s, p=%s" % (
datafs, masters, storages, replicas, partitions) datafs, masters, storages, replicas, partitions)
def store(*args):
pass
# cluster # cluster
neo = NEOCluster( neo = NEOCluster(
db_list=['test_import_%d' % i for i in xrange(storages)], db_list=['test_import_%d' % i for i in xrange(storages)],
...@@ -28,7 +25,6 @@ def run(masters, storages, replicas, partitions, datafs, verbose): ...@@ -28,7 +25,6 @@ def run(masters, storages, replicas, partitions, datafs, verbose):
# import # import
neo_storage = neo.getZODBStorage() neo_storage = neo.getZODBStorage()
dfs_storage = FileStorage(file_name=datafs) dfs_storage = FileStorage(file_name=datafs)
# Storage.store = store
neo.start() neo.start()
start = time() start = time()
try: try:
......
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