summaryrefslogtreecommitdiff
path: root/keystone/tests/unit/test_revoke.py
diff options
context:
space:
mode:
authorIrina <yuyuesh@cn.ibm.com>2015-11-27 00:13:13 +0800
committerIrina <yuyuesh@cn.ibm.com>2015-12-23 22:43:48 +0800
commit25863d6f81dc022c66d9e0062690b6709c715793 (patch)
tree3468fd676069e5245ea579bff3cdb12c3576f6b9 /keystone/tests/unit/test_revoke.py
parent4ebf58566ec7c3a557987c1c9cfd1e03a91272e6 (diff)
downloadkeystone-25863d6f81dc022c66d9e0062690b6709c715793.tar.gz
Fix some inconsistency in docstrings
Added colon after ":param" and ":return", changed ":return:" to ":returns:" according to http://docs.openstack.org/developer/hacking Change-Id: I91516e664ccd8f659e34b3943c25d74700abb94c
Diffstat (limited to 'keystone/tests/unit/test_revoke.py')
-rw-r--r--keystone/tests/unit/test_revoke.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/keystone/tests/unit/test_revoke.py b/keystone/tests/unit/test_revoke.py
index 6f7537754..2b26f2d09 100644
--- a/keystone/tests/unit/test_revoke.py
+++ b/keystone/tests/unit/test_revoke.py
@@ -61,10 +61,10 @@ def _matches(event, token_values):
value for the attribute, and it does not match the token, no match
is possible, so skip the remaining checks.
- :param event one revocation event to match
- :param token_values dictionary with set of values taken from the
+ :param event: one revocation event to match
+ :param token_values: dictionary with set of values taken from the
token
- :returns if the token matches the revocation event, indicating the
+ :returns: if the token matches the revocation event, indicating the
token has been revoked
"""
# The token has three attributes that can match the user_id