Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
heroku-buildpack-python
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
heroku-buildpack-python
Commits
f2165aaa
Commit
f2165aaa
authored
Nov 13, 2018
by
Casey Faist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update test fixtures for new python runtimes
parent
05492e13
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
73 additions
and
35 deletions
+73
-35
requirements.txt
test/fixtures/python2_fail/requirements.txt
+1
-0
runtime.txt
test/fixtures/python2_fail/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_4_fail/requirements.txt
+0
-0
runtime.txt
test/fixtures/python3_4_fail/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_5_fail/requirements.txt
+0
-0
runtime.txt
test/fixtures/python3_5_fail/runtime.txt
+1
-0
runtime.txt
test/fixtures/python3_6/runtime.txt
+1
-1
runtime.txt
test/fixtures/python3_6_7/runtime.txt
+0
-1
requirements.txt
test/fixtures/python3_6_fail/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_6_fail/runtime.txt
+1
-0
runtime.txt
test/fixtures/python3_7/runtime.txt
+1
-1
runtime.txt
test/fixtures/python3_7_1/runtime.txt
+0
-1
requirements.txt
test/fixtures/python3_7_fail/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_7_fail/runtime.txt
+1
-0
requirements.txt
test/fixtures/python3_7_warn/requirements.txt
+1
-0
runtime.txt
test/fixtures/python3_7_warn/runtime.txt
+1
-0
requirements.txt
test/fixtures/pythonDefault/requirements.txt
+1
-0
run
test/run
+60
-31
No files found.
test/fixtures/python2_fail/requirements.txt
0 → 100644
View file @
f2165aaa
requests
\ No newline at end of file
test/fixtures/python2_fail/runtime.txt
0 → 100644
View file @
f2165aaa
python-2.7.16
test/fixtures/python3_
6_7
/requirements.txt
→
test/fixtures/python3_
4_fail
/requirements.txt
View file @
f2165aaa
File moved
test/fixtures/python3_4_fail/runtime.txt
0 → 100644
View file @
f2165aaa
python-3.4.10
test/fixtures/python3_
7_1
/requirements.txt
→
test/fixtures/python3_
5_fail
/requirements.txt
View file @
f2165aaa
File moved
test/fixtures/python3_5_fail/runtime.txt
0 → 100644
View file @
f2165aaa
python-3.5.7
test/fixtures/python3_6/runtime.txt
View file @
f2165aaa
python-3.6.
6
python-3.6.
7
test/fixtures/python3_6_7/runtime.txt
deleted
100644 → 0
View file @
05492e13
python-3.6.7
test/fixtures/python3_6_fail/requirements.txt
0 → 100644
View file @
f2165aaa
flask
test/fixtures/python3_6_fail/runtime.txt
0 → 100644
View file @
f2165aaa
python-3.6.8
test/fixtures/python3_7/runtime.txt
View file @
f2165aaa
python-3.7.
0
python-3.7.
1
test/fixtures/python3_7_1/runtime.txt
deleted
100644 → 0
View file @
05492e13
python-3.7.1
test/fixtures/python3_7_fail/requirements.txt
0 → 100644
View file @
f2165aaa
flask
test/fixtures/python3_7_fail/runtime.txt
0 → 100644
View file @
f2165aaa
python-3.7.2
test/fixtures/python3_7_warn/requirements.txt
0 → 100644
View file @
f2165aaa
requests
\ No newline at end of file
test/fixtures/python3_7_warn/runtime.txt
0 → 100644
View file @
f2165aaa
python-3.7.0
test/fixtures/pythonDefault/requirements.txt
0 → 100644
View file @
f2165aaa
flask
test/run
View file @
f2165aaa
...
...
@@ -87,6 +87,18 @@ testPylibmc() {
assertCapturedSuccess
}
testPythonDefault
()
{
compile
"pythonDefault"
assertCaptured
"python-3.6.6"
assertCapturedSuccess
}
testPython2
()
{
compile
"python2"
assertCaptured
"python-2.7.15"
assertCapturedSuccess
}
testPython2_warn
()
{
compile
"python2_warn"
if
[[
$STACK
=
"heroku-18"
]]
;
then
...
...
@@ -98,31 +110,41 @@ testPython2_warn() {
fi
}
testPython2
()
{
compile
"python2"
assertCaptured
"python-2.7.15"
testPython2_fail
()
{
compile
"python2_fail"
assertCaptured
"Aborting"
assertCapturedError
}
testPython3_4
()
{
compile
"python3_4"
assertCaptured
"python-3.4.9"
assertCapturedSuccess
}
# This fail
testPython3_4_warn
()
{
compile
"python3_4_warn"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCaptured
"python-3.4.0"
assertCaptured
"security update!"
assertCapturedSuccess
else
assertCapturedError
fi
}
# This fail
testPython3_4
()
{
compile
"python3_4"
assertCaptured
"python-3.4.9"
testPython3_4_fail
()
{
compile
"python3_4_fail"
assertCaptured
"Aborting"
assertCapturedError
}
# This fail
testPython3_5
()
{
compile
"python3_5"
assertCaptured
"python-3.5.6"
assertCapturedSuccess
}
testPython3_5_warn
()
{
compile
"python3_5_warn"
if
[[
$STACK
=
"cedar-14"
]]
;
then
...
...
@@ -134,14 +156,18 @@ testPython3_5_warn() {
fi
}
# This will fail
testPython3_5
()
{
compile
"python3_5"
assertCaptured
"python-3.5.6"
testPython3_5_fail
()
{
compile
"python3_5_fail"
assertCaptured
"Aborting"
assertCapturedError
}
# This will warn
testPython3_6
()
{
compile
"python3_6"
assertCaptured
"python-3.6.7"
assertCapturedSuccess
}
testPython3_6_warn
()
{
compile
"python3_6_warn"
assertCaptured
"python-3.6.5"
...
...
@@ -149,33 +175,36 @@ testPython3_6_warn() {
assertCapturedSuccess
}
testPython3_6
()
{
compile
"python3_6
"
assertCaptured
"python-3.6.6
"
assertCapturedSuccess
testPython3_6
_fail
()
{
compile
"python3_6_fail
"
assertCaptured
"Aborting
"
assertCapturedError
}
# This will fail
testPython3_6_7
()
{
compile
"python3_6_7"
assertCaptured
"python-3.6.7"
testPython3_7
()
{
compile
"python3_7"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCapturedError
else
assertCaptured
"python-3.7.1"
assertCapturedSuccess
fi
}
testPython3_7
()
{
testPython3_7
_warn
()
{
compile
"python3_7"
if
[[
$STACK
=
"cedar-14"
]]
;
then
assertCapturedError
else
assertCaptured
"python-3.7.0"
assertCaptured
"security update!"
assertCapturedSuccess
fi
}
# This will fail
testPython3_7_1
()
{
compile
"python3_7_1"
assertCaptured
"python-3.7.1"
testPython3_7_fail
()
{
compile
"python3_7_warn"
assertCaptured
"Aborting"
assertCapturedError
}
...
...
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