From f4673b340a94611d9ec26ba49dd075b4636eda39 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 24 Mar 2017 12:44:20 +0100 Subject: [PATCH] Document tests Missing documentation here. Contributes to issue CURA-3497. --- tests/Settings/TestGlobalStack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Settings/TestGlobalStack.py b/tests/Settings/TestGlobalStack.py index d2f2bc881e..632baa4c05 100644 --- a/tests/Settings/TestGlobalStack.py +++ b/tests/Settings/TestGlobalStack.py @@ -313,6 +313,7 @@ def test_insertContainer(global_stack): with pytest.raises(InvalidOperationError): global_stack.insertContainer(0, unittest.mock.MagicMock()) +## Tests whether removing a container is properly forbidden. def test_removeContainer(global_stack): with pytest.raises(InvalidOperationError): global_stack.removeContainer(unittest.mock.MagicMock())