Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-09-07 18:33:54 +0300
committerluz paz <luzpaz@users.noreply.github.com>2021-09-07 18:33:54 +0300
commitd68f375e386049878de69eb0b33aacc3f40cb344 (patch)
tree7c31e3a32ac8b9d2c7328c6de5f300eb4eb15182 /tests/Settings
parent7eeae4db87f3f6e860c2bc4faab79af50c59e484 (diff)
Fix various typos
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/TestSettingInheritanceManager.py4
-rw-r--r--tests/Settings/TestSettingVisibilityPresets.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/Settings/TestSettingInheritanceManager.py b/tests/Settings/TestSettingInheritanceManager.py
index 3589d8b91f..8613095a9a 100644
--- a/tests/Settings/TestSettingInheritanceManager.py
+++ b/tests/Settings/TestSettingInheritanceManager.py
@@ -84,12 +84,12 @@ def test_getOverridesForExtruderNoGlobalStack(setting_inheritance_manager):
def test_settingIsOverwritingInheritanceNoUserState(setting_inheritance_manager, mocked_stack):
- # Setting 1 doesn't have a user state, so it cant have an override
+ # Setting 1 doesn't have a user state, so it can't have an override
assert not setting_inheritance_manager._settingIsOverwritingInheritance("setting_1", mocked_stack)
def test_settingIsOverwritingInheritanceNotEnabled(setting_inheritance_manager, mocked_stack):
- # Setting 2 doesn't have a enabled, so it cant have an override
+ # Setting 2 doesn't have a enabled, so it can't have an override
assert not setting_inheritance_manager._settingIsOverwritingInheritance("setting_2", mocked_stack)
diff --git a/tests/Settings/TestSettingVisibilityPresets.py b/tests/Settings/TestSettingVisibilityPresets.py
index 017bb6077a..6b268bca1d 100644
--- a/tests/Settings/TestSettingVisibilityPresets.py
+++ b/tests/Settings/TestSettingVisibilityPresets.py
@@ -15,7 +15,7 @@ Resources.addStorageType(CuraApplication.ResourceTypes.SettingVisibilityPreset,
def test_createVisibilityPresetFromLocalFile():
- # Simple creation test. This is seperated from the visibilityFromPrevious, since we can't check for the contents
+ # Simple creation test. This is separated from the visibilityFromPrevious, since we can't check for the contents
# of the other profiles, since they might change over time.
visibility_preset = SettingVisibilityPreset()
@@ -49,7 +49,7 @@ def test_setActivePreset():
with patch("cura.CuraApplication.CuraApplication.getInstance"):
visibility_model = SettingVisibilityPresetsModel(preferences)
visibility_model.activePresetChanged = MagicMock()
- # Ensure that we start off with basic (since we didn't change anyting just yet!)
+ # Ensure that we start off with basic (since we didn't change anything just yet!)
assert visibility_model.activePreset == "basic"
# Everything should be the same.