mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix typing in MachineActionManager
CURA-5812
This commit is contained in:
parent
59704e4c0e
commit
0e772beb14
2 changed files with 19 additions and 15 deletions
|
@ -44,7 +44,7 @@ def test_addMachineAction(machine_action_manager):
|
|||
assert machine_action_manager.getSupportedActions(test_machine) == [test_action, test_action_2]
|
||||
|
||||
# Check that the machine has no required actions yet.
|
||||
assert machine_action_manager.getRequiredActions(test_machine) == set()
|
||||
assert machine_action_manager.getRequiredActions(test_machine) == list()
|
||||
|
||||
## Ensure that only known actions can be added.
|
||||
with pytest.raises(UnknownMachineActionError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue