diff --git a/tests/Settings/TestCuraContainerRegistry.py b/tests/Settings/TestCuraContainerRegistry.py old mode 100644 new mode 100755 index 31348753f4..f6c1eeb9a5 --- a/tests/Settings/TestCuraContainerRegistry.py +++ b/tests/Settings/TestCuraContainerRegistry.py @@ -75,4 +75,4 @@ def test_loadLegacyFileRenamed(container_registry): assert not os.path.isfile(temp_file) new_filename = os.path.splitext(os.path.splitext(temp_file)[0])[0] + ".global.cfg" - assert os.path.isfile(new_filename) \ No newline at end of file + assert os.path.isfile(new_filename) diff --git a/tests/Settings/TestGlobalStack.py b/tests/Settings/TestGlobalStack.py old mode 100644 new mode 100755 index c8f4d5dfaf..539de4929e --- a/tests/Settings/TestGlobalStack.py +++ b/tests/Settings/TestGlobalStack.py @@ -544,3 +544,15 @@ def test_setVariantByIdExists(global_stack, container_registry): def test_setVariantByIdDoesntExist(global_stack): with pytest.raises(InvalidContainerError): global_stack.setVariantById("some_variant") #Container registry is empty now. + +## Smoke test for findDefaultVariant +def test_smoke_findDefaultVariant(global_stack): + global_stack.findDefaultVariant() + +## Smoke test for findDefaultMaterial +def test_smoke_findDefaultMaterial(global_stack): + global_stack.findDefaultMaterial() + +## Smoke test for findDefaultQuality +def test_smoke_findDefaultQuality(global_stack): + global_stack.findDefaultQuality()