"static" template methods don't appear in introspection
Bug #1250096 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-dbusmock |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
$ DBUS_SYSTEM_
$ gdbus introspect -e -d org.freedesktop
This misses methods like ListUsers() and AddSeat() which are defined as "real" methods in the template instead of being in AddMethods().
Related branches
Changed in python-dbusmock: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → Martin Pitt (pitti) |
To post a comment you must log in.
Here we go. It was failing because the dynamically added methods weren’t being added to self.methods, and hence weren’t being iterated over by the introspection code.