Skip to content

Commit 2e32d1b

Browse files
jlujan-invitaeseratch
authored andcommitted
Remove commented code in test_aws_chalice
1 parent 3095063 commit 2e32d1b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/adapter_tests/aws/test_aws_chalice.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,15 +317,7 @@ def events() -> Response:
317317
headers = self.build_headers(timestamp, body)
318318
client = Client(chalice_app, Config())
319319
response = client.http.post("/slack/events", headers=headers, body=body)
320-
#
321-
# response: Dict[str, Any] = LocalGateway(chalice_app, Config()).handle_request(
322-
# method="POST",
323-
# path="/slack/events",
324-
# body=body,
325-
# headers=self.build_headers(timestamp, body),
326-
# )
327-
328-
# assert response["statusCode"] == 200, f"error: {response['body']}"
320+
329321
assert response.status_code == 200, f"Failed request: {response.body}"
330322
assert_auth_test_count(self, 1)
331323
assert self.mock_received_requests["/chat.postMessage"] == 1

0 commit comments

Comments
 (0)