@@ -78,7 +78,7 @@ teardown() {
78
78
perl -p -i' .bak' -e ' s/(pythonRequirements:$)/\1\n useDownloadCache: true/' serverless.yml
79
79
sls package
80
80
USR_CACHE_DIR=` node -e ' console.log(require("../../lib/shared").getUserCachePath())' `
81
- ls $USR_CACHE_DIR /downloadCache_slspyc /http
81
+ ls $USR_CACHE_DIR /downloadCacheslspyc /http
82
82
}
83
83
84
84
@test " py3.6 uses download cache with useDownloadCache + cacheLocation option" {
@@ -87,7 +87,7 @@ teardown() {
87
87
! uname -sm| grep Linux || groups| grep docker || id -u| egrep ' ^0$' || skip " can't dockerize on linux if not root & not in docker group"
88
88
perl -p -i' .bak' -e ' s/(pythonRequirements:$)/\1\n useDownloadCache: true\n cacheLocation: .requirements-cache/' serverless.yml
89
89
sls package
90
- ls .requirements-cache/downloadCache_slspyc /http
90
+ ls .requirements-cache/downloadCacheslspyc /http
91
91
}
92
92
93
93
@test " py3.6 uses download cache with dockerizePip + useDownloadCache option" {
@@ -97,7 +97,7 @@ teardown() {
97
97
perl -p -i' .bak' -e ' s/(pythonRequirements:$)/\1\n useDownloadCache: true/' serverless.yml
98
98
sls --dockerizePip=true package
99
99
USR_CACHE_DIR=` node -e ' console.log(require("../../lib/shared").getUserCachePath())' `
100
- ls $USR_CACHE_DIR /downloadCache_slspyc /http
100
+ ls $USR_CACHE_DIR /downloadCacheslspyc /http
101
101
}
102
102
103
103
@test " py3.6 uses download cache with dockerizePip + useDownloadCache + cacheLocation option" {
@@ -106,7 +106,7 @@ teardown() {
106
106
! uname -sm| grep Linux || groups| grep docker || id -u| egrep ' ^0$' || skip " can't dockerize on linux if not root & not in docker group"
107
107
perl -p -i' .bak' -e ' s/(pythonRequirements:$)/\1\n useDownloadCache: true\n cacheLocation: .requirements-cache/' serverless.yml
108
108
sls --dockerizePip=true package
109
- ls .requirements-cache/downloadCache_slspyc /http
109
+ ls .requirements-cache/downloadCacheslspyc /http
110
110
}
111
111
112
112
@test " py2.7 can package flask with default options" {
0 commit comments