diff options
author | Petr Viktorin <pviktori@redhat.com> | 2014-06-19 19:06:19 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-23 10:54:42 +0200 |
commit | 013bf3d4e282643ca1c424b4afc42237093ec412 (patch) | |
tree | 58626cef796f43f89c3b99ac2f407b72e7c829de /ipalib/config.py | |
parent | f486d23ad67a7337c7633e4216c5a0b0374002fc (diff) | |
download | freeipa-013bf3d4e282643ca1c424b4afc42237093ec412.tar.gz freeipa-013bf3d4e282643ca1c424b4afc42237093ec412.tar.xz freeipa-013bf3d4e282643ca1c424b4afc42237093ec412.zip |
Test and docstring fixes
The recent conversions to managed permissions left behind a few
failing tests. Fix them.
Also fix a now incorrect docstring in ipalib.config.
Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'ipalib/config.py')
-rw-r--r-- | ipalib/config.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ipalib/config.py b/ipalib/config.py index b12cfd321..e8958205d 100644 --- a/ipalib/config.py +++ b/ipalib/config.py @@ -105,15 +105,11 @@ class Env(object): u'false' If an ``str`` value looks like an integer, it's automatically converted to - the ``int`` type. Likewise, if an ``str`` value looks like a floating-point - number, it's automatically converted to the ``float`` type. For example: + the ``int`` type. >>> env.lucky = '7' >>> env.lucky 7 - >>> env.three_halves = '1.5' - >>> env.three_halves - 1.5 Leading and trailing white-space is automatically stripped from ``str`` values. For example: |