mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 17:43:14 +08:00
Add the data to the tests.
This commit is contained in:
parent
b149ef57fd
commit
c0985bec2a
@ -22,6 +22,7 @@ test_upgrade_version_nr_data = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
## Tests whether the version numbers are updated.
|
## Tests whether the version numbers are updated.
|
||||||
|
@pytest.mark.parametrize("test_name, file_data", test_upgrade_version_nr_data)
|
||||||
def test_upgradeVersionNr(test_name, file_data, upgrader):
|
def test_upgradeVersionNr(test_name, file_data, upgrader):
|
||||||
#Perform the upgrade.
|
#Perform the upgrade.
|
||||||
_, upgraded_instances = upgrader.upgradePreferences(file_data, "<string>")
|
_, upgraded_instances = upgrader.upgradePreferences(file_data, "<string>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user