From 71b882fed946b93dc94876658fb34bb4bba18587 Mon Sep 17 00:00:00 2001 From: Arjan Molenaar Date: Thu, 14 Jan 2021 08:45:17 +0100 Subject: [PATCH] Fix unit tests --- tests/test_aspect_connector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_aspect_connector.py b/tests/test_aspect_connector.py index 3cef1710..ccdf6b94 100644 --- a/tests/test_aspect_connector.py +++ b/tests/test_aspect_connector.py @@ -24,7 +24,7 @@ def element(connections): ) def test_element_glue_on_border(element, pos, expected_glue_pos): sink = ConnectionSink(element) - glue_pos, dist = sink.glue(pos) + glue_pos = sink.glue(pos) assert glue_pos == expected_glue_pos @@ -43,6 +43,6 @@ def test_element_glue_on_border_with_secondary_position( ): pos = (50, 50) sink = ConnectionSink(element) - glue_pos, dist = sink.glue(pos, secondary_pos=secondary_pos) + glue_pos = sink.glue(pos, secondary_pos=secondary_pos) assert glue_pos == expected_glue_pos