dnf
To search for a package that provides a specific command
$ dnf search <command>
Using mock.patch() for debugging
mock.patch()
Git