aboutsummaryrefslogtreecommitdiff
path: root/tests/test_sockets.py
diff options
context:
space:
mode:
authorAlan K <github@ack.modeswitch.org>2014-03-17 19:28:04 -0400
committerAlan K <github@ack.modeswitch.org>2014-03-17 19:28:04 -0400
commitcf5307c029a9f5e502ddfb1d1949ab4d2a5bd4e5 (patch)
tree964f6e38b444de7efb31940e79e659fa94bc9378 /tests/test_sockets.py
parentb1f141debf8800c453a5a992fa04862e29f1cdc2 (diff)
Cleaned up required files (some things aren't needed for this test); Run `npm install` as part of test.
Diffstat (limited to 'tests/test_sockets.py')
-rw-r--r--tests/test_sockets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_sockets.py b/tests/test_sockets.py
index e781c652..e3a5573d 100644
--- a/tests/test_sockets.py
+++ b/tests/test_sockets.py
@@ -403,6 +403,7 @@ class sockets(BrowserCore):
Popen([PYTHON, EMCC, temp_host_filepath, '-o', host_outfile] + ['-s', 'GL_TESTING=1', '--pre-js', 'host_pre.js', '-s', 'SOCKET_WEBRTC=1', '-s', 'SOCKET_DEBUG=1']).communicate()
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')]);
expected = '1'