[autobackport: sssd-2-10] tests: reorganize infopipe tests by interface#8461
[autobackport: sssd-2-10] tests: reorganize infopipe tests by interface#8461sssd-bot wants to merge 1 commit intoSSSD:sssd-2-10from
Conversation
Group the infopipe tests into logical sections based on the D-Bus interface they exercise: - Infopipe (root object) - Domains - Users - Groups - Mixed/Combined interfaces This is a pure reorganization with no logic changes to improve test maintainability and readability. Reviewed-by: Jakub Vávra <jvavra@redhat.com> Reviewed-by: Shridhar Gadekar <sgadekar@redhat.com> (cherry picked from commit 1571946)
There was a problem hiding this comment.
Code Review
The code changes in this pull request reorganize the infopipe tests by interface. The changes include tests for pinging the infopipe, listing components, finding a monitor, finding a user by ID, and updating user groups. There is a merge conflict in the file that needs to be resolved, keeping the test_infopipe__find_user_by_id function.
| <<<<<<< HEAD | ||
| @pytest.mark.ticket(bz=1667252) | ||
| @pytest.mark.topology(KnownTopologyGroup.AnyProvider) | ||
| def test_infopipe__lookup_user_with_extra_attributes(client: Client, provider: GenericProvider): | ||
| ======= | ||
| @pytest.mark.topology(KnownTopology.LDAP) | ||
| def test_infopipe__find_user_by_id(client: Client, provider: GenericProvider): | ||
| >>>>>>> 157194618 (tests: reorganize infopipe tests by interface) |
There was a problem hiding this comment.
This file contains merge conflict markers which make it syntactically incorrect. Please resolve the conflict. Based on the PR's goal of reorganizing tests, it seems test_infopipe__find_user_by_id should be kept here.
@pytest.mark.topology(KnownTopology.LDAP)
def test_infopipe__find_user_by_id(client: Client, provider: GenericProvider):|
|
||
|
|
||
| @pytest.mark.importance("medium") | ||
| <<<<<<< HEAD |
Check failure
Code scanning / CodeQL
Syntax error Error test
This is an automatic backport of PR#8451 tests: reorganize infopipe tests by interface to branch sssd-2-10, created by @aborah-sudo.
Caution
@aborah-sudo The patches did not apply cleanly. It is necessary to resolve conflicts before merging this pull request. Commits that introduced conflict are marked with
CONFLICT!.You can push changes to this pull request
Original commits
1571946 - tests: reorganize infopipe tests by interface
Backported commits
Conflicting Files Information (check for deleted and re-added files)
Original Pull Request Body
Group the infopipe tests into logical sections based on the D-Bus interface they exercise:
This is a pure reorganization with no logic changes to improve test maintainability and readability.