Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RemovedInPytest4Warning: Fixture "passwd_ops_setup" called directly #4920

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/3942

  • Created at 2019-02-04 11:00:20 by jhrozek
  • Closed at 2019-02-26 23:20:59 as Fixed
  • Assigned to lslebodn

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])

Comments


Comment from lslebodn at 2019-02-09 22:35:13

Metadata Update from @lslebodn:

  • Issue assigned to lslebodn

Comment from lslebodn at 2019-02-09 22:35:27

Metadata Update from @lslebodn:

  • Issue tagged with: PR

Comment from lslebodn at 2019-02-09 22:35:34

https://pagure.io/SSSD/sssd/pull-request/3953


Comment from jhrozek at 2019-02-21 12:55:45

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 2.1

Comment from jhrozek at 2019-02-22 15:12:26

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 2.2 (was: SSSD 2.1)

Comment from jhrozek at 2019-02-26 23:21:01


Comment from jhrozek at 2019-02-26 23:21:02

Metadata Update from @jhrozek:

  • Issue close_status updated to: Fixed
  • Issue status updated to: Closed (was: Open)

Comment from jhrozek at 2019-02-26 23:21:21

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 2.1 (was: SSSD 2.2)
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant