Convert tests using unittests.TestCase and the cloud-init custom [one](https://github.com/canonical/cloud-init/blob/16f2039d0705ee9873ace98c967a34e6da6d0b87/tests/unittests/helpers.py#L126) to pytest. - [x] tests/unittests/test_pathprefix2dict.py - [ ] tests/unittests/config/test_cc_rsyslog.py - [x] tests/unittests/config/test_cc_power_state_change.py - [x] tests/unittests/config/test_apt_conf_v1.py - [x] tests/unittests/config/test_schema.py - [x] tests/unittests/config/test_cc_growpart.py - [x] tests/unittests/config/test_cc_spacewalk.py - [ ] tests/unittests/config/test_cc_ca_certs.py - [x] tests/unittests/config/test_cc_mcollective.py - [x] tests/unittests/sources/test_openstack.py - [x] tests/unittests/sources/test_common.py - [ ] tests/unittests/test_util.py - [x] tests/unittests/distros/test_resolv.py - [x] tests/unittests/distros/test_user_data_normalize.py - [x] tests/unittests/distros/test_hosts.py - [x] tests/unittests/distros/test_hostname.py - [x] tests/unittests/distros/test_ifconfig.py - [x] tests/unittests/distros/test_sysconfig.py - [x] tests/unittests/distros/test_alpine.py - [ ] tests/unittests/helpers.py - [x] tests/unittests/test_registry.py - [x] tests/unittests/test__init__.py - [x] tests/unittests/reporting/test_reporting.py - [x] tests/unittests/test_data.py
Convert tests using unittests.TestCase and the cloud-init custom one to pytest.