diff options
author | Ghostkeeper <rubend@tutanota.com> | 2017-05-12 15:50:43 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2017-05-12 15:50:43 +0300 |
commit | 20e9d195876b2a20a6fa85521b9ae50f86cea75d (patch) | |
tree | fae556b48e5e27cd7eb0eacfc5f29d57b3750464 /plugins/VersionUpgrade/VersionUpgrade25to26 | |
parent | 5bc613c3e0526dc0f44c18c4632c8ce6546c11fe (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.py | 6 |
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 } ] |