Commit 4b752bdb authored by Jérome Perrin's avatar Jérome Perrin

testERP5TestNode: fix fake config

configparser read options as strings, node_quantity is not supposed to
be an int.
parent dab9e278
...@@ -72,7 +72,7 @@ class ERP5TestNode(TestCase): ...@@ -72,7 +72,7 @@ class ERP5TestNode(TestCase):
config["slapos_directory"] = self.slapos_directory config["slapos_directory"] = self.slapos_directory
config["working_directory"] = self.working_directory config["working_directory"] = self.working_directory
config["software_directory"] = self.software_directory config["software_directory"] = self.software_directory
config["node_quantity"] = 3 config["node_quantity"] = '3'
config["test_suite_directory"] = self.test_suite_directory config["test_suite_directory"] = self.test_suite_directory
config["environment"] = self.environment config["environment"] = self.environment
config["log_directory"] = self.log_directory config["log_directory"] = self.log_directory
...@@ -598,7 +598,7 @@ shared = true ...@@ -598,7 +598,7 @@ shared = true
for option in ( for option in (
('--firefox_bin', part('firefox/firefox-slapos')), ('--firefox_bin', part('firefox/firefox-slapos')),
('--frontend_url', 'http://frontend/'), ('--frontend_url', 'http://frontend/'),
('--node_quantity', 3), ('--node_quantity', '3'),
('--xvfb_bin', part('xserver/bin/Xvfb')), ('--xvfb_bin', part('xserver/bin/Xvfb')),
): ):
parser.add_argument(option[0]) parser.add_argument(option[0])
......
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