This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Description
The following test code in does not sufficiently expose kytos/pathfinder#64:
|
def get_link_mock(endpoint_a, endpoint_b): |
|
"""Return a link mock.""" |
|
link = create_autospec(Link) |
|
link.endpoint_a = endpoint_a |
|
link.endpoint_b = endpoint_b |
|
link.metadata = {"A": 0} |
|
return link |
This change is to address the problem of the referenced bug not showing up for single-letter link attribute names.