diff options
author | juanvallejo <jvallejo@redhat.com> | 2017-07-26 19:04:08 -0400 |
---|---|---|
committer | juanvallejo <jvallejo@redhat.com> | 2017-07-26 19:04:08 -0400 |
commit | 8af18393771ed5679932b05e34fc1d941f7dd51e (patch) | |
tree | e014e827876d445960b53a9227435feb9f1cd815 | |
parent | 5d03e56e3befb1182834d9ca3020fc53b8590f3f (diff) | |
download | openshift-8af18393771ed5679932b05e34fc1d941f7dd51e.tar.gz openshift-8af18393771ed5679932b05e34fc1d941f7dd51e.tar.bz2 openshift-8af18393771ed5679932b05e34fc1d941f7dd51e.tar.xz openshift-8af18393771ed5679932b05e34fc1d941f7dd51e.zip |
fixes after rebasing with #4485
-rw-r--r-- | roles/openshift_health_checker/openshift_checks/disk_availability.py | 1 | ||||
-rw-r--r-- | roles/openshift_health_checker/test/disk_availability_test.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/disk_availability.py b/roles/openshift_health_checker/openshift_checks/disk_availability.py index b6a874dc9..39ac0e4ec 100644 --- a/roles/openshift_health_checker/openshift_checks/disk_availability.py +++ b/roles/openshift_health_checker/openshift_checks/disk_availability.py @@ -44,7 +44,6 @@ class DiskAvailability(OpenShiftCheck): }, } - @classmethod def is_active(self): """Skip hosts that do not have recommended disk space requirements.""" group_names = self.get_var("group_names", default=[]) diff --git a/roles/openshift_health_checker/test/disk_availability_test.py b/roles/openshift_health_checker/test/disk_availability_test.py index bd91d32a3..5720eeacf 100644 --- a/roles/openshift_health_checker/test/disk_availability_test.py +++ b/roles/openshift_health_checker/test/disk_availability_test.py @@ -224,8 +224,8 @@ def test_min_required_space_changes_with_upgrade_context(name, group_names, cont ansible_mounts=ansible_mounts, ) - check = DiskAvailability(execute_module=fake_execute_module) - result = check.run(tmp=None, task_vars=task_vars) + check = DiskAvailability(fake_execute_module, task_vars) + result = check.run() assert result.get("failed", False) == failed for word in extra_words: |