diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-01 03:15:50 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-08-01 03:15:50 +0000 |
commit | 8a964d02b5a7c0c8a002f05597f0d1c1aabf569c (patch) | |
tree | 56d584af64839baecf379940c1972f99befaa02a /ipalib/tests/test_plugable.py | |
parent | 31fc955355ac8d873b82d129021f599f820c2694 (diff) | |
download | freeipa.git-8a964d02b5a7c0c8a002f05597f0d1c1aabf569c.tar.gz freeipa.git-8a964d02b5a7c0c8a002f05597f0d1c1aabf569c.tar.xz freeipa.git-8a964d02b5a7c0c8a002f05597f0d1c1aabf569c.zip |
35: Renamed unit_common.py to tstutil.py
Diffstat (limited to 'ipalib/tests/test_plugable.py')
-rw-r--r-- | ipalib/tests/test_plugable.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/tests/test_plugable.py b/ipalib/tests/test_plugable.py index e69060b3..8c0b4b42 100644 --- a/ipalib/tests/test_plugable.py +++ b/ipalib/tests/test_plugable.py @@ -21,7 +21,7 @@ Unit tests for `ipalib.plugable` module. """ -import unit_common as uc +import tstutil from ipalib import plugable, errors @@ -57,17 +57,17 @@ def test_ReadOnly(): obj = plugable.ReadOnly() names = ['not_an_attribute', 'an_attribute'] for name in names: - uc.no_set(obj, name) - uc.no_del(obj, name) + tstutil.no_set(obj, name) + tstutil.no_del(obj, name) class some_ro_class(plugable.ReadOnly): def __init__(self): object.__setattr__(self, 'an_attribute', 'Hello world!') obj = some_ro_class() for name in names: - uc.no_set(obj, name) - uc.no_del(obj, name) - assert uc.read_only(obj, 'an_attribute') == 'Hello world!' + tstutil.no_set(obj, name) + tstutil.no_del(obj, name) + assert tstutil.read_only(obj, 'an_attribute') == 'Hello world!' def test_Proxy(): |