node.py (1621:275b26bbd3ae) node.py (1635:97afbb6c5a15)
1import os
2import shutil
3from urllib.parse import quote
4
1import shutil
2from urllib.parse import quote
3
4from conftest import option
5from conftest import public_dir
5from unit.applications.proto import TestApplicationProto
6from unit.applications.proto import TestApplicationProto
6from conftest import option, public_dir
7
8
9class TestApplicationNode(TestApplicationProto):
10 def load(self, script, name='app.js', **kwargs):
11 # copy application
12
13 shutil.copytree(
14 option.test_dir + '/node/' + script, self.temp_dir + '/node'

--- 27 unchanged lines hidden ---
7
8
9class TestApplicationNode(TestApplicationProto):
10 def load(self, script, name='app.js', **kwargs):
11 # copy application
12
13 shutil.copytree(
14 option.test_dir + '/node/' + script, self.temp_dir + '/node'

--- 27 unchanged lines hidden ---