diff options
author | Luke Meyer <lmeyer@redhat.com> | 2018-01-17 09:18:36 -0500 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2018-01-17 11:01:27 -0500 |
commit | 9f461f2ad2b11ca87ef1ce6ee381ccf31b703fc8 (patch) | |
tree | e619d42d73e2294f93aeae05e56704f98da1e1e7 /roles/openshift_health_checker/test | |
parent | 2e1a1328457315c0d434d5a0fe1660e07512f6bd (diff) | |
download | openshift-9f461f2ad2b11ca87ef1ce6ee381ccf31b703fc8.tar.gz openshift-9f461f2ad2b11ca87ef1ce6ee381ccf31b703fc8.tar.bz2 openshift-9f461f2ad2b11ca87ef1ce6ee381ccf31b703fc8.tar.xz openshift-9f461f2ad2b11ca87ef1ce6ee381ccf31b703fc8.zip |
package_version check: reuse get_major_minor_version
Diffstat (limited to 'roles/openshift_health_checker/test')
-rw-r--r-- | roles/openshift_health_checker/test/package_version_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/test/package_version_test.py b/roles/openshift_health_checker/test/package_version_test.py index d2916f617..8fcf9927d 100644 --- a/roles/openshift_health_checker/test/package_version_test.py +++ b/roles/openshift_health_checker/test/package_version_test.py @@ -18,7 +18,7 @@ def task_vars_for(openshift_release, deployment_type): def test_openshift_version_not_supported(): check = PackageVersion(None, task_vars_for("1.2.3", 'origin')) - check.get_openshift_version_tuple = lambda: (3, 4, 1) # won't be in the dict + check.get_major_minor_version = lambda: (3, 4, 1) # won't be in the dict with pytest.raises(OpenShiftCheckException) as excinfo: check.get_required_ovs_version() |