Skip to content

Commit

Permalink
Black seems down on blank lines at the start of blocks now.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunns committed Feb 6, 2023
1 parent 993702a commit 54b44b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions tests/integration/test_impostors.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def test_add_stub_to_running_impostor(mock_server):
)

with mock_server(impostor):

responses = [requests.get(f"{impostor.url}/test{i}") for i in range(3)]
assert_that(
responses,
Expand Down Expand Up @@ -101,7 +100,6 @@ def test_add_stubs_to_running_impostor(mock_server):
)

with mock_server(impostor):

responses = [requests.get(f"{impostor.url}/test{i}") for i in range(3)]
assert_that(
responses,
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ def test_allow_multiple_servers_on_different_ports():
imposter2 = Imposter(Stub(Predicate(path="/test"), Response(body="bacon")))

with server1(imposter1), server2(imposter2):

response1 = requests.get(f"{imposter1.url}/test")
response2 = requests.get(f"{imposter2.url}/test")

Expand Down Expand Up @@ -116,7 +115,6 @@ def test_remove_and_replace_impostor_from_running_server(mock_server):
Imposter(Stub(Predicate(path="/test"), Response(body="chips")), name="chips"),
]
) as server:

# Retrieve impostor details from running server, and check they work
initial = server.query_all_imposters()

Expand Down
2 changes: 0 additions & 2 deletions tests/unit/mbtest/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
def test_server_default_options():
# Given
with patch("subprocess.Popen") as popen, patch("requests.get"):

# When
ExecutingMountebankServer(port=1234)

Expand Down Expand Up @@ -43,7 +42,6 @@ def test_server_default_options():
def test_server_non_default_options():
# Given
with patch("subprocess.Popen") as popen, patch("requests.get"):

# When
ExecutingMountebankServer(
executable=Path("somepath/mb"),
Expand Down

0 comments on commit 54b44b4

Please sign in to comment.