Skip to content

Commit 3c71c7a

Browse files
committed
fixed lambda test 11
1 parent 54224ec commit 3c71c7a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/integration/aws/lambda_/dependencies/test_Lambda__Dependency__Inside_Lambda.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,13 @@ def run(event, context): # this runs inside the lambda en
268268
with Deploy_Lambda(handler=run) as _:
269269
_.add_file(file_to_add)
270270
_.add_file (lambda_handler)
271-
assert sorted(_.files()) == sorted([ '/boto3__lambda.py' ,
272-
'/test_Lambda__Dependency__Inside_Lambda.py'])
273-
assert _.deploy() is True
274-
assert _.invoke() == boto3__lambda.ping() == 'pong'
275-
assert _.delete() is True
276-
assert _.info().get('Configuration').get('CodeSize') < 1300 # confirm that size of the code uploaded is still very small
271+
assert sorted(_.files()) == sorted([ '/boto3__lambda.py' ,
272+
'/test_Lambda__Dependency__Inside_Lambda.py'])
273+
assert _.deploy() is True
274+
assert _.invoke() == boto3__lambda.ping() == 'pong'
275+
assert _.info().get('Configuration').get('CodeSize') < 1300 # confirm that size of the code uploaded is still very small
276+
assert _.delete() is True
277+
277278

278279
def test_12__using_lambda_deploy__load_dependency__using__only_boto_3_code(self):
279280
def run(event, context):

0 commit comments

Comments
 (0)