From 1165471d2231925fd820f8bae22de7fbecfa811c Mon Sep 17 00:00:00 2001 From: cow-bot Date: Mon, 18 Sep 2023 09:03:24 +0000 Subject: [PATCH] GO FORMAT YOURSELF (black) --- tests/json/test_load_from_json.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tests/json/test_load_from_json.py b/tests/json/test_load_from_json.py index 7182d52a8..5a50f0658 100644 --- a/tests/json/test_load_from_json.py +++ b/tests/json/test_load_from_json.py @@ -321,7 +321,7 @@ def contains_warning_of_type( [ "/entry/instrument/test_component/transformations/location", "transformations/location", - "location" + "location", ], ) def test_GIVEN_json_with_component_depending_on_non_existent_transform_WHEN_loaded_THEN_warning_is_added( @@ -401,11 +401,7 @@ def test_GIVEN_json_with_attribute_depends_on_WHEN_loaded_THEN_warning_is_added( @pytest.mark.parametrize( "depends_on_path", - [ - ".", - "", - None - ], + [".", "", None], ) def test_GIVEN_json_with_component_with_null_depends_on_WHEN_loaded_THEN_no_effect( json_dict_with_component, json_reader, depends_on_path @@ -462,7 +458,7 @@ def test_GIVEN_json_with_component_depending_on_relative_transform_WHEN_loaded_T if depends_on_path is not None: transform_name = depends_on_path.split("/")[-1] else: - transform_name = 'None' + transform_name = "None" json_dict_with_component["children"][0]["children"][0]["children"][0][ "children" @@ -478,7 +474,8 @@ def test_GIVEN_json_with_component_depending_on_relative_transform_WHEN_loaded_T == "componentname" ) assert ( - json_reader._components_depends_on["componentname"][1].transform_name == transform_name + json_reader._components_depends_on["componentname"][1].transform_name + == transform_name )