Comment 3 for bug 1245955

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

Thanks for the pointer!

http://bazaar.launchpad.net/~pitti/python-dbusmock/trunk/revision/141 adds the defined DisplayDevice properties, and http://bazaar.launchpad.net/~pitti/python-dbusmock/trunk/revision/142 adds a SetupDisplayDevice() convenience method which avoids writing some boilerplate and makes sure that you don't forget to set a property.

Tested with upower 0.9.23 and 0.99.0 client tools, and everything has automatic tests, too. Please let me know if you want to see anything else, like more convenience methods which simplify common scenarios.