mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Tests: Fix failing tests in test_ipalib/test_frontend
Some tests in ipatests/test_ipalib/test_frontend.py are failing due to changes related to thin client implementation. Providing fix for: ipa.test_ipalib.test_frontend.test_Attribute.test_init ipa.test_ipalib.test_frontend.test_LocalOrRemote.test_run https://fedorahosted.org/freeipa/ticket/6188 Reviewed-By: Milan Kubik <mkubik@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
380ffcc052
commit
44a2bdd8ea
@@ -1181,7 +1181,7 @@ class LocalOrRemote(Command):
|
||||
When running in a server context, this command is always executed
|
||||
locally and the value of ``options['server']`` is ignored.
|
||||
"""
|
||||
if options['server'] and not self.env.in_server:
|
||||
if options.get('server', False) and not self.env.in_server:
|
||||
return self.forward(*args, **options)
|
||||
return self.execute(*args, **options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user