Skip to content

Commit 4d791e9

Browse files
author
Kandarp Ajvalia
committed
fix: black formatting
1 parent a07e03c commit 4d791e9

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

tests/integration/local/start_api/test_start_api_dns.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ def test_dns_configured_in_container(self):
5050
response_holder = {}
5151

5252
def make_request():
53-
response_holder['response'] = requests.get(
54-
f"http://127.0.0.1:{self.port}/sleepfortenseconds/function0",
55-
timeout=300
53+
response_holder["response"] = requests.get(
54+
f"http://127.0.0.1:{self.port}/sleepfortenseconds/function0", timeout=300
5655
)
5756

5857
request_thread = threading.Thread(target=make_request)
@@ -95,4 +94,4 @@ def make_request():
9594

9695
# Wait for request to complete
9796
request_thread.join()
98-
self.assertEqual(response_holder['response'].status_code, 200)
97+
self.assertEqual(response_holder["response"].status_code, 200)

tests/integration/local/start_lambda/test_start_lambda_dns.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,8 @@ def test_dns_configured_in_container(self):
8484
response_holder = {}
8585

8686
def invoke_function():
87-
response_holder['response'] = self.lambda_client.invoke(
88-
FunctionName="HelloWorldSleepFunction",
89-
Payload='{}'
87+
response_holder["response"] = self.lambda_client.invoke(
88+
FunctionName="HelloWorldSleepFunction", Payload="{}"
9089
)
9190

9291
invoke_thread = threading.Thread(target=invoke_function)
@@ -132,4 +131,4 @@ def invoke_function():
132131

133132
# Wait for invocation to complete
134133
invoke_thread.join()
135-
self.assertEqual(response_holder['response'].get("StatusCode"), 200)
134+
self.assertEqual(response_holder["response"].get("StatusCode"), 200)

0 commit comments

Comments
 (0)