Skip to content

tests: migrate multihost/alltests/test_default_debug_level.py - #9084

Closed
krishnavema wants to merge 1 commit into
SSSD:masterfrom
krishnavema:test-default-debug-level
Closed

krishnavema wants to merge 1 commit into
SSSD:masterfrom
krishnavema:test-default-debug-level

Conversation

@krishnavema

@krishnavema krishnavema commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Migrates the two remaining legacy multihost tests from multihost/alltests/test_default_debug_level.py

Co-authored-by: Cursor cursoragent@cursor.com
Model used: Claude Opus 4.8

Comment thread src/tests/system/tests/test_cache.py Outdated
Comment thread src/tests/system/tests/test_cache.py Outdated
Comment thread src/tests/system/tests/test_cache.py Outdated
Comment thread src/tests/system/tests/test_ldap.py
@justin-stephenson

Copy link
Copy Markdown
Contributor

I re-triggered system tests CI jobs now that CI is working again.

Comment thread src/tests/system/tests/test_cache.py Outdated
assert user_dict["description"] == ["gecos1"], "attribute 'description' was not correct"
assert user_dict["mail"] == ["user1@example.test"], "attribute 'mail' was not correct"
assert user_dict["email"] == ["user1@example.test"], "attribute 'email' was not correct"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Memcache has its own file, so this test should go in test_memcache.py.

Memcache has some parameterization. You can do one of two things: you can update the test and check for groups and initgroups like the other test in the file, or rename the test and explicitly state in the title and description that it covers user only and just move the test to test_memcache.py

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@krishnavema
krishnavema force-pushed the test-default-debug-level branch from 38ce335 to 1d9a6de Compare September 21, 2026 16:06
@krishnavema
krishnavema requested a review from danlavu September 21, 2026 16:06
@krishnavema
krishnavema force-pushed the test-default-debug-level branch from 1d9a6de to 129c642 Compare September 22, 2026 04:25
@krishnavema krishnavema reopened this Sep 22, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@krishnavema
krishnavema force-pushed the test-default-debug-level branch from 129c642 to 02d3834 Compare September 22, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants