Fix typing in MachineActionManager

CURA-5812
This commit is contained in:
Lipu Fei 2018-10-19 09:55:53 +02:00
parent 59704e4c0e
commit 0e772beb14
2 changed files with 19 additions and 15 deletions

View file

@ -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):