Commit ee390918 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge commit 'dc49df' into refcounting

parents 64faf815 dc49df12
import os, sys, subprocess
sys.path.append(os.path.dirname(__file__) + "/../lib")
from test_helper import create_virtenv, run_test
ENV_NAME = "formencode_test_env_" + os.path.basename(sys.executable)
SRC_DIR = os.path.abspath(os.path.join(ENV_NAME, "src"))
PYTHON_EXE = os.path.abspath(os.path.join(ENV_NAME, "bin", "python"))
NOSETESTS_EXE = os.path.abspath(os.path.join(ENV_NAME, "bin", "nosetests"))
FORMENCODE_DIR = os.path.abspath(os.path.join(ENV_NAME, "src", "formencode"))
packages = ["nose==1.3.7", "pycountry==1.6", "pyDNS==2.3.6"]
packages += ["-e", "git+https://github.com/formencode/formencode.git@1.2.5#egg=formencode"]
create_virtenv(ENV_NAME, packages, force_create = True)
expected = [{'ran': 201}]
run_test([NOSETESTS_EXE], cwd=FORMENCODE_DIR, expected=expected)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment