mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
102: After the API instance calls plugin.finalize(), it also calls plugin.__lock__()
This commit is contained in:
parent
543aea31a4
commit
0edb22c9ac
@ -447,6 +447,8 @@ class API(ReadOnly):
|
|||||||
object.__setattr__(self, base.__name__, ns)
|
object.__setattr__(self, base.__name__, ns)
|
||||||
for plugin in d.values():
|
for plugin in d.values():
|
||||||
plugin.finalize(self)
|
plugin.finalize(self)
|
||||||
|
plugin.__lock__()
|
||||||
|
assert plugin.__islocked__() is True
|
||||||
assert plugin.api is self
|
assert plugin.api is self
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user