]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/smb: move a handful of small functions to utils.py
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 8 May 2024 14:45:05 +0000 (10:45 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 24 Jun 2024 12:41:08 +0000 (08:41 -0400)
commitb4001966a6a55dfd4c1d6c0d91be5ceae42989fe
tree40a5fc2aa81f10c9adb40500b46320e7bb9e7b68
parentc80f7fd3f9a888f6333ceecb58abe43752711bac
mgr/smb: move a handful of small functions to utils.py

Includes updating the files that were using them and even
a few test functions.
Amusingly, the `one` function was being tested as part of
test_handler.py demonstrating the confusion that not having
a utils.py and corresponding test file brought.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/smb/handler.py
src/pybind/mgr/smb/internal.py
src/pybind/mgr/smb/module.py
src/pybind/mgr/smb/proto.py
src/pybind/mgr/smb/resources.py
src/pybind/mgr/smb/results.py
src/pybind/mgr/smb/tests/test_handler.py
src/pybind/mgr/smb/tests/test_utils.py [new file with mode: 0644]
src/pybind/mgr/smb/utils.py [new file with mode: 0644]