]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/smb: make the smb_cfg fixture module scoped
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 9 Jan 2026 14:32:56 +0000 (09:32 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 29 Jan 2026 17:07:04 +0000 (12:07 -0500)
commitab3e4d4e4052c2e153d7dd75ff1ef488d7e047ae
tree3dcff947cc51c9de6003d7e4f090b1eba8d333f9
parentdb05a1a89f30d409472b695808323fcc6022f397
qa/workunits/smb: make the smb_cfg fixture module scoped

This means the file will only be read when pytest changes modules.
This also allows this fixture to be used with other fixtures at the
module or scope "higher" than the function scope.

See: https://docs.pytest.org/en/stable/how-to/fixtures.html#fixture-scopes

Signed-off-by: John Mulligan <jmulligan@redhat.com>
qa/workunits/smb/tests/conftest.py