Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amolenaar committed Jan 14, 2021
1 parent ece50be commit 71b882f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_aspect_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 71b882f

Please sign in to comment.