We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e14aac9 commit 837f063Copy full SHA for 837f063
test.bats
@@ -24,6 +24,10 @@ teardown() {
24
if [ -d "${USR_CACHE_DIR}" ] ; then
25
rm -Rf "${USR_CACHE_DIR}"
26
fi
27
+ cd ../..
28
+ if [ -d "tests/base with a space" ] ; then
29
+ rm -Rf "tests/base with a space"
30
+ fi
31
}
32
33
@test "py3.6 supports custom file name with fileName option" {
@@ -566,3 +570,12 @@ teardown() {
566
570
unzip .serverless/hello1.zip -d puck
567
571
./puck/module1/foobar
568
572
573
+
574
+@test "py3.6 can package flask in a project with a space in it" {
575
+ cp -a tests/base "tests/base with a space"
576
+ cd "tests/base with a space"
577
+ npm i $(npm pack ../..)
578
+ sls package
579
+ unzip .serverless/sls-py-req-test.zip -d puck
580
+ ls puck/flask
581
+}
0 commit comments