Actually testing parted

called_once_with didn't work, changed to assert_called_once_with
modules.parted: tests: fixed probe deprecation testing
modules.parted: tests: fixed probe deprecation testing #2
Merge pull request #17102 from rominf/parted-tests

Actually testing parted