summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJamie Lennox <jlennox@redhat.com>2013-06-04 11:16:09 +1000
committerJamie Lennox <jlennox@redhat.com>2013-06-12 10:51:56 +1000
commit86776773d5575afb095b4dd2bb4326a750bcb4af (patch)
tree61af42edc164b5437df8d5d35d21f98240f29659 /tests
parent76daaffd870166ff8070a6d56835fc4a25f0a1fb (diff)
downloadpython-keystoneclient-86776773d5575afb095b4dd2bb4326a750bcb4af.tar.gz
Cleanup shell's authentication check.
The original logic for whether shell had enough information to authenticate a user was confusing and will be very difficult to extend to other forms of authentication. Change-Id: I88763a651e494e60070a30f0824505acb09310cb
Diffstat (limited to 'tests')
-rw-r--r--tests/test_shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_shell.py b/tests/test_shell.py
index 502c708..321edc5 100644
--- a/tests/test_shell.py
+++ b/tests/test_shell.py
@@ -98,7 +98,7 @@ class ShellTest(utils.TestCase):
def test_auth_no_credentials(self):
with testtools.ExpectedException(
- exceptions.CommandError, 'Expecting authentication method'):
+ exceptions.CommandError, 'Expecting'):
self.shell('user-list')
def test_auth_password_authurl_no_username(self):