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.

** Changed in: python-dbusmock
       Status: In Progress => Fix Committed

** Also affects: python-dbusmock (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-dbusmock (Ubuntu)
       Status: New => Fix Committed

** Changed in: python-dbusmock (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1245955

Title:
  update upower template to 0.9/1.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-settings-daemon/+bug/1245955/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to