]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: fix test case in test_tls.py
authorJustin Caratzas <jcaratza@ibm.com>
Mon, 6 Oct 2025 23:25:44 +0000 (19:25 -0400)
committerJustin Caratzas <jcaratza@ibm.com>
Mon, 6 Oct 2025 23:25:44 +0000 (19:25 -0400)
commit5b039bb466cff10fdcf2a91b16d898f45cea8e81
treee6b2835ccb16836458b44c6042d810259b2e88dd
parentd1a8feb08549d13be14a12f79f6049fa588eb94e
pybind/mgr: fix test case in test_tls.py

Why violate the typing in a test? mypy never noticed this because tests
are not type checked but there seems to be no need to turn a str into
bytes to pass to a function that is typed only as taking str!

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 955143ddfb3ea6f5f7b63902a734f17d393da4d8)

Resolves: rhbz#2401206
src/pybind/mgr/tests/test_tls.py