Fix several small typos

Fixes: https://fedorahosted.org/freeipa/ticket/6085
Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
Ben Lipton
2016-07-08 11:41:43 -04:00
committed by Martin Basti
parent 648b5afa2f
commit 99a702568d
4 changed files with 6 additions and 5 deletions

View File

@@ -289,5 +289,5 @@ class Tracker(object):
set(expected_updates.keys()))
def check_update(self, result, extra_keys=()):
"""Check the plugin's `find` command result"""
"""Check the plugin's `mod` command result"""
raise NotImplementedError(self._override_me_msg)

View File

@@ -184,7 +184,7 @@ class UserTracker(Tracker):
Overriding Tracker method for setting self.attrs correctly;
* most attributes stores its value in list
* the rest can be overridden by expected_updates
* allow deleting parametrs if update value is None
* allow deleting parameters if update value is None
"""
if expected_updates is None:
expected_updates = {}

View File

@@ -97,8 +97,9 @@ fuzzy_issuer = Fuzzy(type=six.string_types)
fuzzy_hex = Fuzzy('^0x[0-9a-fA-F]+$', type=six.string_types)
# Matches password - password consists of all printable characters without whitespaces
# The only exception is space, but space cannot be at the beggingin or end of the pwd
# Matches password - password consists of all printable characters without
# whitespaces. The only exception is space, but space cannot be at the
# beginning or end of the pwd.
fuzzy_password = Fuzzy('^\S([\S ]*\S)*$')
# Matches generalized time value. Time format is: %Y%m%d%H%M%SZ

View File

@@ -205,7 +205,7 @@ class Fuzzy(object):
>>> fuzzy.test # doctest:+ELLIPSIS
<function <lambda> at 0x...>
To aid debugging, `Fuzzy.__repr__()` revealse these kwargs as well:
To aid debugging, `Fuzzy.__repr__()` reveals these kwargs as well:
>>> fuzzy # doctest:+ELLIPSIS
Fuzzy('.+', <type 'str'>, <function <lambda> at 0x...>)