5 Commits

Author SHA1 Message Date
Ghostkeeper
94c607e785
Also tests whether the upgrade didn't remove any good settings
It shouldn't remove any settings that are not set for removing.
It's now also using the actual _removed_settings property to make sure that the test upgrades for the simple case of another removed setting.

Contributes to issue CURA-3479.
2017-03-13 14:08:56 +01:00
Ghostkeeper
ad0d0bbd96
Add test for removing settings from instance containers
Currently only the happy path. I plan to add tests whether the rest of the settings are still intact.

Contributes to issue CURA-3479.
2017-03-13 13:49:19 +01:00
Ghostkeeper
d866216f0c
Add tests for removed settings from preferences files
Contributes to issue CURA-3479.
2017-03-13 13:39:10 +01:00
Ghostkeeper
14faf1abad
Use correct naming scheme for functions
It needs to start with 'test_' for pytest. But otherwise it needs to follow our naming conventions for function names.

Contributes to issue CURA-3479.
2017-03-13 12:49:48 +01:00
Ghostkeeper
ce50a6ebf1
Add tests for cfg_version
These test if the output of cfg_version is as expected.

Contributes to issue CURA-3479.
2017-03-13 12:44:18 +01:00