DBusTestCase should have some convenience functions for asserting during testing

Bug #1333188 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dbusmock
Triaged
Wishlist
Unassigned

Bug Description

Often when writing tests using dbusmock we want to assert that the method was called with particular arguments, or called a particular number of times, etc. There should be some convenience functions in DBusTestCase for doing this. An example:

assertCalledWith('mymethod', 'arg1', 'arg2'...)
assertCalledMultiple('mymethod', 10)

There are other possibilities, but these are just two I can think of.

Martin Pitt (pitti)
Changed in python-dbusmock:
status: New → Triaged
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.