mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 14:21:19 -07:00
Minor fixes for visibility preset tests
CURA-5734
This commit is contained in:
parent
4c5bf3297c
commit
a58c63bbb8
1 changed files with 2 additions and 2 deletions
|
|
@ -10,11 +10,11 @@ from cura.Settings.SettingVisibilityPreset import SettingVisibilityPreset
|
|||
|
||||
setting_visibility_preset_test_settings = {"test", "zomg", "derp", "yay", "whoo"}
|
||||
|
||||
Resources.addSearchPath(os.path.abspath(os.path.join(os.path.join(os.path.dirname(__file__)), "../..", "resources")))
|
||||
Resources.addSearchPath(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "resources")))
|
||||
Resources.addStorageType(CuraApplication.ResourceTypes.SettingVisibilityPreset, "setting_visibility")
|
||||
|
||||
|
||||
def test_settingVisibilityPreset():
|
||||
def test_createVisibilityPresetFromLocalFile():
|
||||
# Simple creation test. This is seperated from the visibilityFromPrevious, since we can't check for the contents
|
||||
# of the other profiles, since they might change over time.
|
||||
visibility_preset = SettingVisibilityPreset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue