mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-07-30 08:07:56 -05:00
Hard-code in_tree=True for tests
Some integration tests use internal option ``force``. Re-add ``in_tree=True`` to make the tests pass until Pagure#8317 is fixed. See: https://pagure.io/freeipa/issue/8317 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
@@ -120,6 +120,8 @@ def pytest_cmdline_main(config):
|
||||
kwargs = dict(
|
||||
context=u'cli', in_server=False, fallback=False
|
||||
)
|
||||
# FIXME: workaround for https://pagure.io/freeipa/issue/8317
|
||||
kwargs.update(in_tree=True)
|
||||
if not os.path.isfile(os.path.expanduser('~/.ipa/default.conf')):
|
||||
# dummy domain/host for machines without ~/.ipa/default.conf
|
||||
kwargs.update(domain=u'ipa.test', server=u'master.ipa.test')
|
||||
|
||||
Reference in New Issue
Block a user