File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
setup () {
5
5
export SLS_DEBUG=t
6
- export LC_ALL=C.UTF-8
7
- export LANG=C.UTF-8
8
6
9
7
cd test
10
8
@@ -37,7 +35,7 @@ teardown() {
37
35
}
38
36
39
37
@test " py3.6 doesn't package bottle with noDeploy option" {
40
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
38
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
41
39
sls package
42
40
unzip .serverless/sls-py-req-test.zip -d puck
43
41
! ls puck/bottle.py
@@ -87,7 +85,7 @@ teardown() {
87
85
}
88
86
89
87
@test " py2.7 doesn't package bottle with noDeploy option" {
90
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
88
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
91
89
sls --runtime=python2.7 package
92
90
unzip .serverless/sls-py-req-test.zip -d puck
93
91
! ls puck/bottle.py
@@ -136,7 +134,7 @@ teardown() {
136
134
@test " pipenv py3.6 doesn't package bottle with noDeploy option" {
137
135
cd ../pipenv-example
138
136
npm i ..
139
- sed - i' .bak' -re ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
137
+ perl -p - i' .bak' -e ' s/(pythonRequirements:$)/\1\n noDeploy: [bottle]/' serverless.yml
140
138
sls package
141
139
unzip .serverless/sls-py-req-test.zip -d puck
142
140
! ls puck/bottle.py
You can’t perform that action at this time.
0 commit comments