summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/node.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/applications/lang/node.py')
-rw-r--r--test/unit/applications/lang/node.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/unit/applications/lang/node.py b/test/unit/applications/lang/node.py
index 3cc72669..f2752321 100644
--- a/test/unit/applications/lang/node.py
+++ b/test/unit/applications/lang/node.py
@@ -22,13 +22,15 @@ class TestApplicationNode(TestApplicationProto):
self.current_dir + '/node/' + script, self.testdir + '/node'
)
- # link modules
+ # copy modules
- os.symlink(
+ shutil.copytree(
self.pardir + '/node/node_modules',
self.testdir + '/node/node_modules',
)
+ self.public_dir(self.testdir + '/node')
+
self._load_conf(
{
"listeners": {"*:7080": {"pass": "applications/" + script}},