mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-24 16:14:25 +08:00
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:
parent
5bc613c3e0
commit
20e9d19587
@ -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
|
||||
}
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user