Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
d3336158
Commit
d3336158
authored
Aug 26, 2016
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update integration tests for new site-packages location
parent
83e57caa
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
6 deletions
+4
-6
test/extra/avro_test.py
test/extra/avro_test.py
+1
-1
test/extra/flask_test.py
test/extra/flask_test.py
+1
-1
test/extra/pyopenssl_test.py
test/extra/pyopenssl_test.py
+1
-1
test/extra/sqlalchemy_0.5_smalltest.py
test/extra/sqlalchemy_0.5_smalltest.py
+0
-1
test/integration/pycrypto_test.py
test/integration/pycrypto_test.py
+1
-1
test/integration/sqlalchemy_smalltest.py
test/integration/sqlalchemy_smalltest.py
+0
-1
No files found.
test/extra/avro_test.py
View file @
d3336158
...
...
@@ -16,7 +16,7 @@ subprocess.check_call(["wget", url], cwd=ENV_NAME)
subprocess
.
check_call
([
"tar"
,
"-zxf"
,
"avro-1.7.7.tar.gz"
],
cwd
=
ENV_NAME
)
env
=
os
.
environ
env
[
"PYTHONPATH"
]
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ENV_NAME
,
"site-packages"
))
env
[
"PYTHONPATH"
]
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ENV_NAME
,
"
lib/python2.7/
site-packages"
))
# this tests also fail when run in cpython with nose.
# pytest makes two of this work but we can't currently run pytest...
...
...
test/extra/flask_test.py
View file @
d3336158
...
...
@@ -17,7 +17,7 @@ create_virtenv(ENV_NAME,
"markupsafe == 0.23"
]
,
force_create
=
True
)
sys
.
path
.
append
(
ENV_NAME
+
"/site-packages"
)
sys
.
path
.
append
(
ENV_NAME
+
"/
lib/python2.7/
site-packages"
)
from
flask
import
Flask
,
Markup
from
jinja2
import
Template
...
...
test/extra/pyopenssl_test.py
View file @
d3336158
...
...
@@ -5,7 +5,7 @@ from test_helper import create_virtenv, run_test
ENV_NAME
=
os
.
path
.
abspath
(
"pyopenssl_test_env_"
+
os
.
path
.
basename
(
sys
.
executable
))
NOSETESTS_EXE
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ENV_NAME
,
"bin"
,
"nosetests"
))
PYOPENSSL_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ENV_NAME
,
"site-packages"
,
"OpenSSL"
))
PYOPENSSL_DIR
=
os
.
path
.
abspath
(
os
.
path
.
join
(
ENV_NAME
,
"
lib"
,
"python2.7"
,
"
site-packages"
,
"OpenSSL"
))
packages
=
[
"nose==1.3.7"
,
"pycparser==2.13"
,
"cryptography==1.0.1"
,
"pyopenssl==0.15.1"
,
"pyasn1==0.1.7"
,
"idna==2.0"
,
"six==1.9.0"
,
"enum34==1.0.4"
,
"ipaddress==1.0.14"
,
"cffi==1.1.0"
]
create_virtenv
(
ENV_NAME
,
packages
,
force_create
=
True
)
...
...
test/extra/sqlalchemy_0.5_smalltest.py
View file @
d3336158
...
...
@@ -34,7 +34,6 @@ python_exe = os.path.abspath(ENV_NAME + "/bin/python")
sys
.
path
.
append
(
SQLALCHEMY_DIR
+
"/lib"
)
sys
.
path
.
insert
(
0
,
SQLALCHEMY_DIR
)
sys
.
path
.
append
(
ENV_NAME
+
"/site-packages"
)
sys
.
path
.
append
(
ENV_NAME
+
"/lib/python2.7/site-packages"
)
os
.
chdir
(
SQLALCHEMY_DIR
)
...
...
test/integration/pycrypto_test.py
View file @
d3336158
...
...
@@ -33,7 +33,7 @@ print "-- Installing pycrypto"
subprocess
.
check_call
([
sys
.
executable
,
"setup.py"
,
"install"
,
"--prefix=install"
],
stdout
=
devnull
)
print
"-- Testing pycrypto"
sys
.
path
.
append
(
"install/site-packages"
)
sys
.
path
.
append
(
"install/
lib/python2.7/
site-packages"
)
test_string
=
"test string"
.
ljust
(
16
)
...
...
test/integration/sqlalchemy_smalltest.py
View file @
d3336158
...
...
@@ -33,7 +33,6 @@ python_exe = os.path.abspath(ENV_NAME + "/bin/python")
sys
.
path
.
append
(
SQLALCHEMY_DIR
+
"/lib"
)
sys
.
path
.
insert
(
0
,
SQLALCHEMY_DIR
)
sys
.
path
.
append
(
ENV_NAME
+
"/site-packages"
)
sys
.
path
.
append
(
ENV_NAME
+
"/lib/python2.7/site-packages"
)
os
.
chdir
(
SQLALCHEMY_DIR
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment