Check signature match/length match in method calls

Reported by Martin Pitt on 2012-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dbusmock
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) on 2012-10-10
Changed in python-dbusmock:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Martin Pitt (pitti)
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  Edit
Everyone can see this information.

Other bug subscribers