File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ import os , sys , subprocess
2+ sys .path .append (os .path .dirname (__file__ ) + "/../lib" )
3+
4+ from test_helper import create_virtenv , run_test
5+
6+ ENV_NAME = "formencode_test_env_" + os .path .basename (sys .executable )
7+ SRC_DIR = os .path .abspath (os .path .join (ENV_NAME , "src" ))
8+ PYTHON_EXE = os .path .abspath (os .path .join (ENV_NAME , "bin" , "python" ))
9+ NOSETESTS_EXE = os .path .abspath (os .path .join (ENV_NAME , "bin" , "nosetests" ))
10+ FORMENCODE_DIR = os .path .abspath (os .path .join (ENV_NAME , "src" , "formencode" ))
11+
12+ packages = ["nose==1.3.7" , "pycountry==1.6" , "pyDNS==2.3.6" ]
13+ packages += [
"-e" ,
"git+https://github.com/formencode/[email protected] #egg=formencode" ]
14+ create_virtenv (ENV_NAME , packages , force_create = True )
15+
16+ expected = [{'ran' : 201 }]
17+ run_test ([NOSETESTS_EXE ], cwd = FORMENCODE_DIR , expected = expected )
You can’t perform that action at this time.
0 commit comments