Comment 1 for bug 1245955

Revision history for this message
Martin Pitt (pitti) wrote :

In http://bazaar.launchpad.net/~pitti/python-dbusmock/trunk/revision/139 I fixed the tests to get along with an 1.0 API "upower" tool.

In http://bazaar.launchpad.net/~pitti/python-dbusmock/trunk/revision/140 I added the first cut of providing the 1.0 API in the upower template if the "DaemonVersion" property/template parameter gets set to >= '0.99'. It also adds a DisplayDevice, but there are no convenience methods yet to configure it. For now you need to use the normal Set() dbus.PROPERTIES_IFACE method to change properties. Perhaps you can tell me which properties usually need to be changed on the DisplayDevice, and I'll add a new convenience method ConfigureDisplayDevice() for it?