Skip to content

Commit a2d23e1

Browse files
committed
Reformat test file
1 parent ba6a7b6 commit a2d23e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/utils/external/test_external_object.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_new_top_level_container(client):
2929
assert dewar.item_body.firstExperimentId == 1
3030
assert dewar.item_body.dewarRegistryId == 456
3131

32+
3233
@responses.activate
3334
def test_update_top_level_container(client):
3435
"""Should not get session ID if item has already been pushed to ISPyB"""
@@ -39,12 +40,11 @@ def test_update_top_level_container(client):
3940
assert dewar.item_body.firstExperimentId is None
4041
assert dewar.to_exclude == {"firstExperimentId"}
4142

43+
4244
@responses.activate
4345
def test_upstream_request_fail():
4446
"""Should raise exception if Expeye returns invalid response"""
45-
responses.get(
46-
f"{Config.ispyb_api.url}/foo", status=404
47-
)
47+
responses.get(f"{Config.ispyb_api.url}/foo", status=404)
4848

4949
with pytest.raises(HTTPException, match="Received invalid response from upstream service"):
5050
_get_resource_from_ispyb("token", "/foo")

0 commit comments

Comments
 (0)