Replacing string "neco" by "nepi"
[nepi.git] / test / resources / linux / node.py
index cd56757..a09154b 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
-from neco.resources.linux.node import LinuxNode
-from neco.util.sshfuncs import RUNNING, FINISHED
+from nepi.resources.linux.node import LinuxNode
+from nepi.util.sshfuncs import RUNNING, FINISHED
 
 from test_utils import skipIfNotAlive, skipInteractive, create_node
 
@@ -49,7 +49,7 @@ class LinuxNodeTestCase(unittest.TestCase):
     def t_run(self, host, user):
         node, ec = create_node(host, user)
         
-        app_home = os.path.join(node.exp_dir, "my-app")
+        app_home = os.path.join(node.exp_home, "my-app")
         node.mkdir(app_home, clean = True)
         
         command = "ping %s" % self.target
@@ -87,7 +87,7 @@ class LinuxNodeTestCase(unittest.TestCase):
     def t_compile(self, host, user):
         node, ec = create_node(host, user)
 
-        app_home = os.path.join(node.exp_dir, "my-app")
+        app_home = os.path.join(node.exp_home, "my-app")
         node.mkdir(app_home, clean = True)
 
         prog = """#include <stdio.h>