From 0fa31ef123a544378f04a2177524c9f72181a812 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 14 May 2020 14:40:29 +0200 Subject: [PATCH] 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 Reviewed-By: Rob Crittenden --- ipatests/conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipatests/conftest.py b/ipatests/conftest.py index 6c5f1d894..ae0fbec16 100644 --- a/ipatests/conftest.py +++ b/ipatests/conftest.py @@ -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')