diff --git a/boottest.py b/boottest.py index 6a7ad63..3feae36 100644 --- a/boottest.py +++ b/boottest.py @@ -130,9 +130,8 @@ class BootTest(object): "RUNNING": 'Test in progress', } - #script_path = os.path.expanduser( - # "~/auto-package-testing/jenkins/boottest-britney") - script_path = 'boottest/jenkins/boottest-britney' + script_path = os.path.expanduser( + "~/auto-package-testing/jenkins/boottest-britney") def __init__(self, britney, distribution, series, debug=False): self.britney = britney diff --git a/tests/test_boottest.py b/tests/test_boottest.py index 7442156..8a588b9 100644 --- a/tests/test_boottest.py +++ b/tests/test_boottest.py @@ -161,8 +161,8 @@ class TestBoottestEnd2End(TestBase): def make_boottest(self): """Create a stub version of boottest-britney script.""" - script_path = os.path.join( - self.data.path, 'boottest/jenkins/boottest-britney') + script_path = os.path.expanduser( + "~/auto-package-testing/jenkins/boottest-britney") os.makedirs(os.path.dirname(script_path)) with open(script_path, 'w') as f: f.write('''#!%(py)s