logind template doesn't properly add its properties
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-dbusmock |
Fix Released
|
Undecided
|
Unassigned | ||
python-dbusmock (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When instantiating a logind template with spawn_server_
ERROR:dbus.
This should be fixed by changing None to 0 on line 70 of logind.py: https:/
It can be worked around by specifying parameters=
Thanks for pointing out! Fixed in https:/ /gitorious. org/python- dbusmock/ python- dbusmock/ commit/ 3be081b2
But OOI, I don't see that error message, neither in the test suite nor when instantiating it manually with
DBUS_ SYSTEM_ BUS_ADDRESS= $DBUS_SESSION_ BUS_ADDRESS python3 -m dbusmock -t logind SYSTEM_ BUS_ADDRESS= $DBUS_SESSION_ BUS_ADDRESS loginctl
DBUS_
How did you trigger this? I'd like to reproduce that in a test case.
Thanks!