Commit e772b743 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Move functional ZODB test out of the client tests directory since it purpose is

to test the whole application, not only the client side. 


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@981 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f2d36e8e
...@@ -38,7 +38,6 @@ UNIT_TEST_MODULES = [ ...@@ -38,7 +38,6 @@ UNIT_TEST_MODULES = [
'neo.tests.testProtocol', 'neo.tests.testProtocol',
'neo.tests.testPT', 'neo.tests.testPT',
# master application # master application
'neo.tests.master.connector',
'neo.tests.master.testClientHandler', 'neo.tests.master.testClientHandler',
'neo.tests.master.testElectionHandler', 'neo.tests.master.testElectionHandler',
'neo.tests.master.testMasterApp', 'neo.tests.master.testMasterApp',
...@@ -59,15 +58,14 @@ UNIT_TEST_MODULES = [ ...@@ -59,15 +58,14 @@ UNIT_TEST_MODULES = [
'neo.tests.client.testClientHandler', 'neo.tests.client.testClientHandler',
'neo.tests.client.testConnectionPool', 'neo.tests.client.testConnectionPool',
'neo.tests.client.testDispatcher', 'neo.tests.client.testDispatcher',
'neo.tests.client.testZODB',
] ]
FUNC_TEST_MODULES = [ FUNC_TEST_MODULES = [
'neo.client.tests.testZODB', 'neo.tests.functional.testZODB',
] ]
# configuration # configuration
WITH_ZODB_TESTS = False FUNCTIONAL_TESTS = True
SEND_REPORT = False SEND_REPORT = False
CONSOLE_LOG = False CONSOLE_LOG = False
ATTACH_LOG = False # for ZODB test, only the client side is logged ATTACH_LOG = False # for ZODB test, only the client side is logged
...@@ -283,7 +281,7 @@ if __name__ == "__main__": ...@@ -283,7 +281,7 @@ if __name__ == "__main__":
# run and build the report # run and build the report
runner = NeoTestRunner() runner = NeoTestRunner()
runner.run('Unit tests', UNIT_TEST_MODULES) runner.run('Unit tests', UNIT_TEST_MODULES)
if WITH_ZODB_TESTS: if FUNCTIONAL_TESTS:
runner.run('Functional tests', FUNC_TEST_MODULES, prefix='check') runner.run('Functional tests', FUNC_TEST_MODULES, prefix='check')
runner.build() runner.build()
# send a mail # send a mail
......
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