From 73bd47a0a1841196e8e2a9126a0ddd8f7b2ea056 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 11 Apr 2017 16:46:53 +0200 Subject: [PATCH] Actually assert that the ID is correct Oops. Contributes to issue CURA-3497. --- tests/Settings/TestGlobalStack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Settings/TestGlobalStack.py b/tests/Settings/TestGlobalStack.py index 24ea3eee3e..135e9ce392 100644 --- a/tests/Settings/TestGlobalStack.py +++ b/tests/Settings/TestGlobalStack.py @@ -575,7 +575,7 @@ def test_setPropertyOtherContainers(target_container, writable_global_stack): def test_setQualityByIdExists(global_stack, container_registry): container_registry.return_value = getInstanceContainer(container_type = "quality") global_stack.setQualityById("InstanceContainer") - global_stack.quality.getId() == "InstanceContainer" + assert global_stack.quality.getId() == "InstanceContainer" ## Tests setting qualities by specifying an ID of a quality that doesn't exist. def test_setQualityByIdDoesntExist(global_stack):