Check signature match/length match in method calls

Bug #1064836 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dbusmock
Fix Released
High
Martin Pitt

Bug Description

Need test cases and fixes for calling methods and emitting signals with wrong number of arguments and wrong types.

AddMethod currently does

        n_args = len(dbus.Signature(in_sig))

which doesn't work, it needs to be len(tuple(dbus.Signature(...)))

Martin Pitt (pitti)
Changed in python-dbusmock:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r59.

Changed in python-dbusmock:
status: Triaged → Confirmed
status: Confirmed → Fix Committed
status: Fix Committed → Fix Released
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.