Document test_addExtruder better

Contributes to issue CURA-3497.
This commit is contained in:
Ghostkeeper 2017-03-24 12:28:26 +01:00
parent d40a67f2b0
commit f2b9f79fb3
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -59,7 +59,7 @@ def test_addExtruder(global_stack):
global_stack.addExtruder(unittest.mock.MagicMock())
global_stack.addExtruder(unittest.mock.MagicMock())
with pytest.raises(TooManyExtrudersError):
with pytest.raises(TooManyExtrudersError): #Should be limited to 2 extruders because of machine_extruder_count.
global_stack.addExtruder(unittest.mock.MagicMock())
## Tests whether the user changes are being read properly from a global stack.