[test-fix] Adjusting test setup for the new manifest path (using project) and the auto-package-testing project path.

This commit is contained in:
Celso Providelo 2015-02-05 09:00:48 -05:00
commit 58dbb3f95c

View File

@ -156,13 +156,13 @@ class TestBoottestEnd2End(TestBase):
"""Create a manifest for this britney run context.""" """Create a manifest for this britney run context."""
path = os.path.join( path = os.path.join(
self.data.path, self.data.path,
'boottest/images/ubuntu/{}'.format(self.data.series)) 'boottest/images/ubuntu-touch/{}'.format(self.data.series))
create_manifest(path, lines) create_manifest(path, lines)
def make_boottest(self): def make_boottest(self):
"""Create a stub version of boottest-britney script.""" """Create a stub version of boottest-britney script."""
script_path = os.path.join( script_path = os.path.expanduser(
self.data.path, 'boottest/jenkins/boottest-britney') "~/auto-package-testing/jenkins/boottest-britney")
os.makedirs(os.path.dirname(script_path)) os.makedirs(os.path.dirname(script_path))
with open(script_path, 'w') as f: with open(script_path, 'w') as f:
f.write('''#!%(py)s f.write('''#!%(py)s