We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3095063 commit 2e32d1bCopy full SHA for 2e32d1b
tests/adapter_tests/aws/test_aws_chalice.py
@@ -317,15 +317,7 @@ def events() -> Response:
317
headers = self.build_headers(timestamp, body)
318
client = Client(chalice_app, Config())
319
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']}"
+
329
assert response.status_code == 200, f"Failed request: {response.body}"
330
assert_auth_test_count(self, 1)
331
assert self.mock_received_requests["/chat.postMessage"] == 1
0 commit comments