From 634c8b48d16cdd577d4e666b16a209f22b863488 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 31 May 2021 16:02:09 -0400 Subject: [PATCH] fix: ensure the python app has a requirements.txt file Without this, detection will fail on the heroku/python buildpack. --- tests/unit/buildpacks.bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/buildpacks.bats b/tests/unit/buildpacks.bats index cb34cdb25..898032608 100644 --- a/tests/unit/buildpacks.bats +++ b/tests/unit/buildpacks.bats @@ -314,4 +314,7 @@ EOF cat <"$APP_REPO_DIR/Aptfile" hello EOF + + echo "injecting requirements.txt -> $APP_REPO_DIR/requirements.txt" + touch "$APP_REPO_DIR/requirements.txt" }