Added normalize_release() to the centos object so that the tests can properly execute.
import mon # noqa
import pkg # noqa
-from install import install, mirror_install, repo_install, repository_url_part, rpm_dist # noqa
+from install import install, mirror_install, repo_install, repository_url_part, rpm_dist, normalize_release # noqa
from uninstall import uninstall # noqa
# Allow to set some information about this distro
def test_normalize_release_number(self):
self.distro.release = '6.9'
- assert centos.normalize_release(self.distro.release) == 6.9
+ assert centos.normalize_release(self.distro.release) == 6.0
def test_normalize_release_empty_string(self):
self.distro.release = ''