0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Update autobahn suite to use autobahntestsuite

This commit is contained in:
Magnus Klaar 2012-04-06 17:53:53 +02:00
parent 0b15ed914d
commit 80c67bff33

View file

@ -29,7 +29,7 @@ def install_env(env):
subprocess.check_call(["curl", "-sS", VIRTUALENV_URL, "-o", VIRTUALENV_BIN]) subprocess.check_call(["curl", "-sS", VIRTUALENV_URL, "-o", VIRTUALENV_BIN])
subprocess.check_call(["python", VIRTUALENV_BIN, env]) subprocess.check_call(["python", VIRTUALENV_BIN, env])
activate_env(env) activate_env(env)
subprocess.check_call([PIP_BIN, "install", "Autobahn"]) subprocess.check_call([PIP_BIN, "install", "AutobahnTestSuite"])
def client_config(): def client_config():
""" """
@ -54,7 +54,7 @@ def run_test(env, config):
activate_env(env) activate_env(env)
from twisted.python import log from twisted.python import log
from twisted.internet import reactor from twisted.internet import reactor
from autobahn.fuzzing import FuzzingClientFactory from autobahntestsuite.fuzzing import FuzzingClientFactory
os.chdir(AB_TESTS_PRIV) os.chdir(AB_TESTS_PRIV)
log.startLogging(sys.stdout) log.startLogging(sys.stdout)
fuzzer = FuzzingClientFactory(config) fuzzer = FuzzingClientFactory(config)