python-dbusmock
python-dbusmock copied to clipboard
cli: Add support for running custom commands or shell on the mock environment
It may be used to quickly debug interfaces
Allowing to use something like python3 -m dbusmock -t upower -c d-feet
Mh, not sure what's not making pyflakes to work here, as I get the test passing locally... mhmhm
However, this was mostly a RFC, so let me know if interested.
@martinpitt hey, a part the required fixes, do we have any interest on this?
I ideally would like to have a full interface to do something like dbus-run-session -- python3 -m dbusmock -t foo -t bar -- my-script --args
Rebased to fully use ctypes instead of gi.repository