Skip to content

Commit 95cacfa

Browse files
committed
tests: remove tests for aws_lambda_logging.wrap
1 parent e8cd750 commit 95cacfa

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

python/tests/functional/test_aws_lambda_logging.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -112,25 +112,4 @@ class X:
112112

113113
log_dict = json.loads(stdout.getvalue())
114114

115-
assert log_dict["message"]["x"].startswith("<")
116-
117-
118-
def test_wrap():
119-
from aws_lambda_logging import wrap
120-
121-
@wrap
122-
def handler(event, context):
123-
pass
124-
125-
handler(None, None)
126-
127-
128-
def test_wrap_when_request_id_is_in_event():
129-
from aws_lambda_logging import wrap
130-
131-
@wrap
132-
def handler(event, context):
133-
pass
134-
135-
event = {"requestContext": {"requestId": "c19e27e6-230b-11e8-ba47-a95ceb1c6480"}}
136-
handler(event, None)
115+
assert log_dict["message"]["x"].startswith("<")

0 commit comments

Comments
 (0)