forked from GoogleCloudPlatform/python-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvirtualenv_python35.yaml
More file actions
54 lines (44 loc) · 1.84 KB
/
virtualenv_python35.yaml
File metadata and controls
54 lines (44 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
schemaVersion: "1.0.0"
globalEnvVars:
- key: "VIRTUAL_ENV"
value: "/env"
- key: "PATH"
value: "/env/bin:$PATH"
commandTests:
- name: "virtualenv35 python installation"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["which", "python"]
expectedOutput: ["/env/bin/python\n"]
- name: "virtualenv35 python3 installation"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["which", "python3"]
expectedOutput: ["/env/bin/python3\n"]
- name: "virtualenv35 python3.5 installation"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["which", "python3.5"]
expectedOutput: ["/env/bin/python3.5\n"]
- name: "virtualenv35 python version"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["python", "--version"]
expectedOutput: ["Python 3.5.9\n"]
- name: "virtualenv35 pip installation"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["which", "pip"]
expectedOutput: ["/env/bin/pip\n"]
- name: "virtualenv35 pip3 installation"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["which", "pip3"]
expectedOutput: ["/env/bin/pip3\n"]
- name: "virtualenv35 gunicorn installation"
setup: [["virtualenv", "-p", "python3.5", "/env"],
["pip", "install", "gunicorn"]]
command: ["which", "gunicorn"]
expectedOutput: ["/env/bin/gunicorn"]
- name: "virtualenv35 flask installation"
setup: [["virtualenv", "-p", "python3.5", "/env"],
["pip", "install", "flask"]]
command: ["python", "-c", "import flask; print(flask.__file__)"]
expectedOutput: ["/env/lib/python3.5/site-packages/flask/__init__.py"]
- name: "virtualenv35 test.support availability"
setup: [["virtualenv", "-p", "python3.5", "/env"]]
command: ["python", "-c", "\"from test import pystone, regrtest, support\""]