Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Oct 20, 2023
1 parent bb9fb37 commit 85607ac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bluesky/tests/test_new_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,14 @@ def plan():

processed_plan = list(lazily_stage_wrapper(plan()))

expected_plan: List[Msg] = [Msg('stage', det1), Msg('read', det1), Msg('read', det1),
Msg('stage', det2), Msg('read', det2), Msg('unstage', det2),
Msg('unstage', det1)]
expected_plan: List[Msg] = [
Msg('stage', det1), Msg('read', det1), Msg('read', det1),
Msg('stage', det2), Msg('read', det2), Msg('unstage', det2),
Msg('unstage', det1)
]

# Prevent issue with unstage_all creating a randomly assigned group
assert len(processed_plan) == len(expected_plan)
group: str = ""
for i in range(len(expected_plan)):
expected, actual = expected_plan[i], processed_plan[i]
assert actual.command == expected.command
Expand Down

0 comments on commit 85607ac

Please sign in to comment.