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.
This commit is contained in:
Ghostkeeper 2017-05-12 14:50:43 +02:00
parent 5bc613c3e0
commit 20e9d19587
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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
}
]