Add the data to the tests.

This commit is contained in:
Diego Prado Gesto 2018-07-05 15:32:43 +02:00
parent b149ef57fd
commit c0985bec2a

View file

@ -22,6 +22,7 @@ test_upgrade_version_nr_data = [
]
## 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):
#Perform the upgrade.
_, upgraded_instances = upgrader.upgradePreferences(file_data, "<string>")