Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Jan 13, 2024
1 parent c93fca2 commit 4cd7f1b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def test_is_bootloader(node_id: NodeId) -> None:
@pytest.mark.parametrize("node_id", [n.application_for() for n in NodeId])
def test_bootloader_for(node_id: NodeId) -> None:
"""Test application node id to bootloader node id mapping."""

# There is no bootloader for these nodes, they return themselves.
if node_id in {NodeId.broadcast, NodeId.host}:
assert node_id.bootloader_for() == node_id
Expand All @@ -56,7 +55,6 @@ def test_bootloader_for(node_id: NodeId) -> None:
@pytest.mark.parametrize("node_id", {n for n in NodeId})
def test_application_for(node_id: NodeId) -> None:
"""Test bootloader node to application node mapping."""

# bootloaders should produce application nodes
if node_id.is_bootloader():
assert node_id.application_for() == NodeId.bootloader_map()[node_id][0]
Expand Down

0 comments on commit 4cd7f1b

Please sign in to comment.