summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-06-13 19:09:19 +0200
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-06-22 14:30:58 +0200
commit7a643daa7ed629cd904cfb5fd5eec4260f0f1582 (patch)
treef20c749ddef233dac2a3a5c7e080db93b2124611 /roles/openshift_health_checker/test
parentd1e87cea86851e7f2c89889761503cf271075df5 (diff)
downloadopenshift-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.py2
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)