mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Update autobahntestsuite to 0.5.2
Also small mostly insignificant changes to tests.
This commit is contained in:
parent
01f57ad65d
commit
9bfef7c715
4 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
|
@ -10,7 +10,7 @@ AB_TESTS_PRIV = os.getenv("AB_TESTS_PRIV")
|
|||
|
||||
VIRTUALENV_URL = 'https://raw.github.com/pypa/virtualenv/master/virtualenv.py'
|
||||
VIRTUALENV_BIN = os.path.join(AB_TESTS_ENV, "virtualenv.py")
|
||||
PIP_BIN = os.path.join(AB_TESTS_ENV, "bin", "pip")
|
||||
INSTALL_BIN = os.path.join(AB_TESTS_ENV, "bin", "easy_install")
|
||||
|
||||
|
||||
def activate_env(env):
|
||||
|
@ -29,7 +29,7 @@ def install_env(env):
|
|||
subprocess.check_call(["curl", "-sS", VIRTUALENV_URL, "-o", VIRTUALENV_BIN])
|
||||
subprocess.check_call(["python", VIRTUALENV_BIN, env])
|
||||
activate_env(env)
|
||||
subprocess.check_call([PIP_BIN, "install", "AutobahnTestSuite"])
|
||||
subprocess.check_call([INSTALL_BIN, "http://pypi.python.org/packages/2.7/a/autobahntestsuite/autobahntestsuite-0.5.2-py2.7.egg#md5=f7480d4ca6ce4954ac05f59778de4bda"])
|
||||
|
||||
def client_config():
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue