#3942 RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly
Closed: Fixed 2 years ago by jhrozek. Opened 2 years ago by jhrozek.

I'm seeing this on rawhide:

est_files_provider.py::test_getpwnam_after_start
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:344: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY, USER1])

test_files_provider.py::test_getpwuid_after_start
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:344: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY, USER1])

test_files_provider.py::test_user_overriden
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:344: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY, USER1])

test_files_provider.py::test_group_overriden
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:362: RemovedInPytest4Warning: Fixture "group_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_gr_with_list(request, [GROUP1, CANARY_GR])

test_files_provider.py::test_add_remove_add_file_user
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:349: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY])

test_files_provider.py::test_mod_user_shell
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:344: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY, USER1])

test_files_provider.py::test_user_no_shell
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:349: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY])

test_files_provider.py::test_user_no_dir
  /var/lib/jenkins/workspace/ci/label/fedora_rawhide/src/tests/intg/test_files_provider.py:349: RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly. Fixtures are not meant to be called directly, are created automatically when test functions request them as parameters. See https://docs.pytest.org/en/latest/fixture.html for more information.
    return setup_pw_with_list(request, [CANARY])

Metadata Update from @lslebodn:
- Issue assigned to lslebodn

2 years ago

Metadata Update from @lslebodn:
- Issue tagged with: PR

2 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1

2 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.2 (was: SSSD 2.1)

2 years ago

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1 (was: SSSD 2.2)

2 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4920

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata