Commit e521131d authored by Priscila Manhaes's avatar Priscila Manhaes

changed for not confusing with erp5's rununittest

parent cbb9d30b
...@@ -138,9 +138,9 @@ password %(password)s ...@@ -138,9 +138,9 @@ password %(password)s
interpreter='python')) interpreter='python'))
def installLocalRunUnitTest(self): def installLocalRunUnitTest(self):
link = os.path.join(self.bin_directory, 'runUnitTest') link = os.path.join(self.bin_directory, 'runCloudoooUnitTest')
destination = os.path.join(CONFIG['instance_root'], destination = os.path.join(CONFIG['instance_root'],
CONFIG['partition_reference'], 'bin', 'runUnitTest') CONFIG['partition_reference'], 'bin', 'runCloudoooUnitTest')
if os.path.lexists(link): if os.path.lexists(link):
if not os.readlink(link) != destination: if not os.readlink(link) != destination:
os.unlink(link) os.unlink(link)
......
...@@ -84,7 +84,7 @@ def run(args): ...@@ -84,7 +84,7 @@ def run(args):
if profile_content is None: if profile_content is None:
profile_content = """ profile_content = """
[buildout] [buildout]
extends = /home/slap/slapconfig/cloudooos.cfg extends = /home/slap/config/cloudooo.cfg
""" """
#extends = %(software_config_path)s #extends = %(software_config_path)s
#""" % {'software_config_path': os.path.join(repository_path, #""" % {'software_config_path': os.path.join(repository_path,
...@@ -207,6 +207,7 @@ branch = %(branch)s ...@@ -207,6 +207,7 @@ branch = %(branch)s
partition_path = os.path.join(config['instance_root'], partition_path = os.path.join(config['instance_root'],
config['partition_reference']) config['partition_reference'])
run_test_suite_path = os.path.join(partition_path, 'bin', run_test_suite_path = os.path.join(partition_path, 'bin',
'runCloudoooUnitTest')
'runTestSuite') 'runTestSuite')
if not os.path.exists(run_test_suite_path): if not os.path.exists(run_test_suite_path):
raise ValueError('No %r provided' % run_test_suite_path) raise ValueError('No %r provided' % run_test_suite_path)
......
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