mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
Fixing import errors introduced by commits
icac3475a0454b730d6e5b2093c2e63d395acd387 and
0b7d9c5.
https://pagure.io/freeipa/issue/7132
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
24 lines
585 B
Python
24 lines
585 B
Python
#
|
|
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
"""
|
|
Test the `ipalib.util` module.
|
|
This tests is in test_integration beucase we only can import ipaplatform here.
|
|
"""
|
|
|
|
from ipalib import util
|
|
from ipaplatform.paths import paths
|
|
|
|
import pytest
|
|
pytestmark = pytest.mark.tier0
|
|
|
|
|
|
def test_hardcoded_paths_are_right():
|
|
"""
|
|
Test if constants created in ipalib.util are in sync with
|
|
paths declared in ipaplatform.paths
|
|
"""
|
|
assert util._IPA_CLIENT_SYSRESTORE == paths.IPA_CLIENT_SYSRESTORE
|
|
assert util._IPA_DEFAULT_CONF == paths.IPA_DEFAULT_CONF
|