Skip to content

Commit 84cd3b5

Browse files
committed
Tweak start testkit-backend
1 parent a53db78 commit 84cd3b5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

testkit/backend.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
Assumes driver and backend has been built.
44
Responsible for starting the test backend.
55
"""
6-
from common import DRIVER_REPO
7-
import subprocess
6+
from common import DRIVER_REPO, run
87

98

109
if __name__ == "__main__":
11-
err = open("/artifacts/backenderr.log", "w")
12-
out = open("/artifacts/backendout.log", "w")
13-
subprocess.check_call(["npm", "start"], stdout=out, stderr=err,
14-
cwd=DRIVER_REPO + "packages/testkit-backend")
10+
run(["npm", "start"], cwd=DRIVER_REPO + "packages/testkit-backend")

0 commit comments

Comments
 (0)