aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-18 12:21:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-18 12:21:15 -0700
commit9158e9917ea4f6e9a74eccaf667ce3e315d2033d (patch)
tree7093ff8f19aae95fc98e192b8f24a9dfbad3c0fc
parent705f29464e34738718a6278f08e71b7c21ee996e (diff)
webrtc test fix
-rw-r--r--tests/test_sockets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_sockets.py b/tests/test_sockets.py
index d8133b0b..26859699 100644
--- a/tests/test_sockets.py
+++ b/tests/test_sockets.py
@@ -404,7 +404,7 @@ class sockets(BrowserCore):
Popen([PYTHON, EMCC, temp_peer_filepath, '-o', peer_outfile] + ['-s', 'GL_TESTING=1', '--pre-js', 'peer_pre.js', '-s', 'SOCKET_WEBRTC=1', '-s', 'SOCKET_DEBUG=1']).communicate()
Popen(['npm', 'install', path_from_root('tests', 'sockets', 'p2p')]).communicate();
- broker = Popen([NODE_JS, path_from_root('tests', 'sockets', 'p2p', 'broker', 'p2p-broker.js')]);
+ broker = Popen(listify(NODE_JS) + [path_from_root('tests', 'sockets', 'p2p', 'broker', 'p2p-broker.js')]);
expected = '1'
self.run_browser(host_outfile, '.', ['/report_result?' + e for e in expected])