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
89125df8
Commit
89125df8
authored
Nov 01, 2016
by
Kenneth Reitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove deprecated test script
parent
83ee7d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
106 deletions
+0
-106
test
bin/test
+0
-106
No files found.
bin/test
deleted
100755 → 0
View file @
83ee7d90
#!/usr/bin/env bash
#
# Create a Heroku app with the following buildpack:
# https://github.com/ddollar/buildpack-test
#
# Push this Python buildpack to that Heroku app to
# run the tests.
#
testDetectWithReqs
()
{
detect
"simple-requirements"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectWithEmptyReqs
()
{
detect
"empty-requirements"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectDjango16
()
{
detect
"django-1.6-skeleton"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectDjango15
()
{
detect
"django-1.5-skeleton"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectDjango14
()
{
detect
"django-1.4-skeleton"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectDjango13
()
{
detect
"django-1.3-skeleton"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectNotDjangoWithSettings
()
{
detect
"not-django"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectWithSetupPy
()
{
detect
"distutils"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectWithSetupRequires
()
{
detect
"no-requirements"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectNotPython
()
{
detect
"not-python"
assertNotCaptured
"Python"
assertEquals
"1"
"
${
RETURN
}
"
}
testDetectSimpleRuntimePypy2
()
{
detect
"simple-runtime-pypy2"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectSimpleRuntimePython2
()
{
detect
"simple-runtime-python2"
assertCapturedEquals
"Python"
assertCapturedSuccess
}
testDetectSimpleRuntimePython3
()
{
detect
"simple-runtime"
# should probably be renamed simple-runtime-python3
assertCapturedEquals
"Python"
assertCapturedSuccess
}
## utils ########################################
pushd
$(
dirname
0
)
>
/dev/null
BASE
=
$(
pwd
)
popd
>
/dev/null
source
${
BASE
}
/vendor/test-utils
detect
()
{
capture
${
BASE
}
/bin/detect
${
BASE
}
/test/
$1
}
compile
()
{
capture
${
BASE
}
/bin/compile
${
BASE
}
/test/
$1
}
source
${
BASE
}
/vendor/shunit2
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