diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-06-13 19:09:19 +0200 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-06-22 14:30:58 +0200 |
commit | 7a643daa7ed629cd904cfb5fd5eec4260f0f1582 (patch) | |
tree | f20c749ddef233dac2a3a5c7e080db93b2124611 /roles/openshift_health_checker/test | |
parent | d1e87cea86851e7f2c89889761503cf271075df5 (diff) | |
download | openshift-7a643daa7ed629cd904cfb5fd5eec4260f0f1582.tar.gz openshift-7a643daa7ed629cd904cfb5fd5eec4260f0f1582.tar.bz2 openshift-7a643daa7ed629cd904cfb5fd5eec4260f0f1582.tar.xz openshift-7a643daa7ed629cd904cfb5fd5eec4260f0f1582.zip |
Refactor DiskAvailability for arbitrary paths
Prepare the check to support verifying multiple paths, not only /var.
Diffstat (limited to 'roles/openshift_health_checker/test')
-rw-r--r-- | roles/openshift_health_checker/test/disk_availability_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/test/disk_availability_test.py b/roles/openshift_health_checker/test/disk_availability_test.py index b353fa610..de09c51da 100644 --- a/roles/openshift_health_checker/test/disk_availability_test.py +++ b/roles/openshift_health_checker/test/disk_availability_test.py @@ -38,7 +38,7 @@ def test_cannot_determine_available_disk(ansible_mounts, extra_words): with pytest.raises(OpenShiftCheckException) as excinfo: check.run(tmp=None, task_vars=task_vars) - for word in 'determine available disk'.split() + extra_words: + for word in 'determine disk availability'.split() + extra_words: assert word in str(excinfo.value) |