summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test/etcd_imagedata_size_test.py
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-11 14:37:54 -0400
committerGitHub <noreply@github.com>2017-08-11 14:37:54 -0400
commit8daf3d92028cc6643cee438754ea3c08af540bef (patch)
treed5dd27ca9a7857c4d5df286df5380688c5271210 /roles/openshift_health_checker/test/etcd_imagedata_size_test.py
parentbe7e7308764eebdc30ec14d5dfaa49faa7f41d6d (diff)
parent3c71d009c034c4a0f795ae0fb939746aea80fbca (diff)
downloadopenshift-8daf3d92028cc6643cee438754ea3c08af540bef.tar.gz
openshift-8daf3d92028cc6643cee438754ea3c08af540bef.tar.bz2
openshift-8daf3d92028cc6643cee438754ea3c08af540bef.tar.xz
openshift-8daf3d92028cc6643cee438754ea3c08af540bef.zip
Merge pull request #4944 from sosiouxme/20170728-refactor-ansible-mounts
openshift_checks: refactor find_ansible_mount
Diffstat (limited to 'roles/openshift_health_checker/test/etcd_imagedata_size_test.py')
-rw-r--r--roles/openshift_health_checker/test/etcd_imagedata_size_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/roles/openshift_health_checker/test/etcd_imagedata_size_test.py b/roles/openshift_health_checker/test/etcd_imagedata_size_test.py
index e3d6706fa..d3aae98f2 100644
--- a/roles/openshift_health_checker/test/etcd_imagedata_size_test.py
+++ b/roles/openshift_health_checker/test/etcd_imagedata_size_test.py
@@ -1,7 +1,8 @@
import pytest
from collections import namedtuple
-from openshift_checks.etcd_imagedata_size import EtcdImageDataSize, OpenShiftCheckException
+from openshift_checks.etcd_imagedata_size import EtcdImageDataSize
+from openshift_checks import OpenShiftCheckException
from etcdkeysize import check_etcd_key_size
@@ -56,7 +57,7 @@ def test_cannot_determine_available_mountpath(ansible_mounts, extra_words):
with pytest.raises(OpenShiftCheckException) as excinfo:
check.run()
- for word in 'determine valid etcd mountpath'.split() + extra_words:
+ for word in ['Unable to determine mount point'] + extra_words:
assert word in str(excinfo.value)