Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/cephadm: fix test failure on newer python
Tests that touch this enum fail for me locally but pass in the CI. This seems to be due to new enum related behavior in Python 3.11. See: https://blog.pecar.me/python-enum Instead of fixing it as suggested in the above blog, adding a __str__ method works on all python versions I care to know about. Signed-off-by: John Mulligan <jmulligan@redhat.com>
- Loading branch information