File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,14 @@ teardown() {
50
50
ls puck/flask
51
51
}
52
52
53
- @test " py3.6 can package flask with zip option" {
53
+ @test " py3.6 can package flask & bottle with zip option" {
54
54
cd tests/base
55
55
npm i $( npm pack ../..)
56
56
sls --zip=true package
57
57
unzip .serverless/sls-py-req-test.zip -d puck
58
58
ls puck/.requirements.zip puck/unzip_requirements.py
59
59
! ls puck/flask
60
+ ! ls puck/bottle
60
61
}
61
62
62
63
@test " py3.6 can package flask with slim options" {
@@ -581,6 +582,8 @@ teardown() {
581
582
}
582
583
583
584
@test " py3.6 can package flask in a project with a space in it with docker" {
585
+ docker & > /dev/null || skip " docker not present"
586
+ ! uname -sm| grep Linux || groups| grep docker || id -u| egrep ' ^0$' || skip " can't dockerize on linux if not root & not in docker group"
584
587
cp -a tests/base " tests/base with a space"
585
588
cd " tests/base with a space"
586
589
npm i $( npm pack ../..)
You can’t perform that action at this time.
0 commit comments