Fixes docstring typos
Change-Id: Ie6314d2e36b04ae1e82a54165b550f8f84ccef1f
This commit is contained in:
parent
0f75fdc64c
commit
f7adfaddb9
|
@ -106,7 +106,7 @@ class ResponseMock(object):
|
|||
|
||||
|
||||
class WSGIClient(object):
|
||||
"""Same inteface as Client, but speaks directly to a WSGI callable."""
|
||||
"""Same interface as Client, but speaks directly to a WSGI callable."""
|
||||
|
||||
def __init__(self, app):
|
||||
# NOTE(kgriffs): used by @_build_url
|
||||
|
|
|
@ -36,7 +36,7 @@ SKIP_REDIS_TESTS = _test_variable_set('ZAQAR_TEST_REDIS')
|
|||
|
||||
@contextlib.contextmanager
|
||||
def expect(*exc_type):
|
||||
"""A context manager to validate raised expections.
|
||||
"""A context manager to validate raised exceptions.
|
||||
|
||||
Can be used as an alternative to testtools.ExpectedException.
|
||||
|
||||
|
|
Loading…
Reference in New Issue