summaryrefslogtreecommitdiffstats
path: root/ipalib/tests
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-20 02:40:49 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-07-20 02:40:49 +0000
commit739e67ca7d34e05fd3c6c8078c4b5d7134504be1 (patch)
tree8f92a30726dfd7ca603418c15d8888d03a9e7065 /ipalib/tests
parent700d58ac1e29378569f2f9ac1a4fe39c8747aeba (diff)
downloadfreeipa-739e67ca7d34e05fd3c6c8078c4b5d7134504be1.tar.gz
freeipa-739e67ca7d34e05fd3c6c8078c4b5d7134504be1.tar.xz
freeipa-739e67ca7d34e05fd3c6c8078c4b5d7134504be1.zip
12: Fixed test_base.test_API.test_finalize() unit tests now that CrudLike has 4 commands, not 5
Diffstat (limited to 'ipalib/tests')
-rw-r--r--ipalib/tests/test_base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/tests/test_base.py b/ipalib/tests/test_base.py
index aefe4fa3f..818b7713a 100644
--- a/ipalib/tests/test_base.py
+++ b/ipalib/tests/test_base.py
@@ -334,11 +334,11 @@ class test_API:
pass
names = list(user().commands)
- assert len(names) == 5
+ assert len(names) == 4
full_names = set()
for o in ['user', 'group', 'service']:
full_names.update('%s_%s' % (v, o) for v in names)
- assert len(full_names) == 15
+ assert len(full_names) == 12
api = self.new()
@@ -358,5 +358,5 @@ class test_API:
commands = read_only(api, 'commands')
assert type(commands) is base.NameSpace
assert commands is api.commands # Same instance must be returned
- assert len(commands) is 15
+ assert len(commands) is 12
assert list(commands) == sorted(full_names)