Skip to content

Commit

Permalink
TESTS:INTG: 'implicit files domain' not supported
Browse files Browse the repository at this point in the history
since 501e05f
  • Loading branch information
alexey-tikhonov committed Oct 9, 2024
1 parent 49ff358 commit 47b9cc1
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/tests/intg/test_files_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,18 +1216,6 @@ def test_realloc_groups(setup_gr_with_canary, files_domain_only):
realloc_groups(setup_gr_with_canary, FILES_REALLOC_CHUNK * 3)


# Files domain autoconfiguration tests
@pytest.mark.skipif(not have_files_provider(),
reason="'files provider' disabled, skipping")
def test_no_sssd_domain(add_user_with_canary, no_sssd_domain):
"""
Test that if no sssd domain is configured, sssd will add the implicit one
"""
res, user = sssd_getpwnam_sync(USER1["name"])
assert res == NssReturnCode.SUCCESS
assert user == USER1


@pytest.mark.skipif(not have_files_provider(),
reason="'files provider' disabled, skipping")
def test_proxy_to_files_domain_only(add_user_with_canary,
Expand All @@ -1239,17 +1227,6 @@ def test_proxy_to_files_domain_only(add_user_with_canary,
assert res == NssReturnCode.NOTFOUND


@pytest.mark.skipif(not have_files_provider(),
reason="'files provider' disabled, skipping")
def test_no_files_domain(add_user_with_canary, no_files_domain):
"""
Test that if no files domain is configured, sssd will add the implicit one
"""
res, user = sssd_getpwnam_sync(USER1["name"])
assert res == NssReturnCode.SUCCESS
assert user == USER1


@pytest.mark.skipif(not have_files_provider(),
reason="'files provider' disabled, skipping")
def test_disable_files_domain(add_user_with_canary, disabled_files_domain):
Expand Down

0 comments on commit 47b9cc1

Please sign in to comment.