summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/service-dbus/test/testService.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service-dbus/test/testService.py b/src/service-dbus/test/testService.py
index 5c02fb5..ed82f84 100644
--- a/src/service-dbus/test/testService.py
+++ b/src/service-dbus/test/testService.py
@@ -466,7 +466,7 @@ class TestServiceProviderFailingService(unittest.TestCase):
"""
self.conn = lmishell.connect(HOST, USER, PASSWD)
self.assertTrue(isinstance(self.conn, lmishell.LMIConnection), "Couldn't connect to remote provider")
- shutil.copy2("failing.service", "/etc/systemd/system/failing.service")
+ shutil.copy2(os.path.dirname(__file__) + "/failing.service", "/etc/systemd/system/failing.service")
subprocess.call ("systemctl daemon-reload".split())
def tearDown(self):