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:
authorGhostkeeper <rubend@tutanota.com>2017-05-12 15:50:43 +0300
committerGhostkeeper <rubend@tutanota.com>2017-05-12 15:50:43 +0300
commit20e9d195876b2a20a6fa85521b9ae50f86cea75d (patch)
treefae556b48e5e27cd7eb0eacfc5f29d57b3750464 /plugins/VersionUpgrade/VersionUpgrade25to26
parent5bc613c3e0526dc0f44c18c4632c8ce6546c11fe (diff)
Update tests to account for new way of getting version numbers
The normal version number is multiplied by a million. Currently these tests fail, so nice to have them. Contributes to issue CURA-3427.
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade25to26')
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade25to26/tests/TestVersionUpgrade25to26.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade25to26/tests/TestVersionUpgrade25to26.py b/plugins/VersionUpgrade/VersionUpgrade25to26/tests/TestVersionUpgrade25to26.py
index 9f8f1e8590..f965a6db2a 100644
--- a/plugins/VersionUpgrade/VersionUpgrade25to26/tests/TestVersionUpgrade25to26.py
+++ b/plugins/VersionUpgrade/VersionUpgrade25to26/tests/TestVersionUpgrade25to26.py
@@ -17,7 +17,7 @@ test_cfg_version_good_data = [
"file_data": """[general]
version = 1
""",
- "version": 1
+ "version": 1000000
},
{
"test_name": "Other Data Around",
@@ -31,14 +31,14 @@ version = 3
layer_height = 0.12
infill_sparse_density = 42
""",
- "version": 3
+ "version": 3000000
},
{
"test_name": "Negative Version", #Why not?
"file_data": """[general]
version = -20
""",
- "version": -20
+ "version": -20000000
}
]