lp:~robru/python-dbusmock/querycalls
Created by
Robert Bruce Park
and last modified
- Get this branch:
- bzr branch lp:~robru/python-dbusmock/querycalls
Only
Robert Bruce Park
can upload to this branch. If you are
Robert Bruce Park
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Martin Pitt: Approve
- Robert Bruce Park (community): Approve
-
Diff: 105 lines (+70/-0)2 files modifieddbusmock/mockobject.py (+23/-0)
tests/test_api.py (+47/-0)
Related bugs
Bug #1098773: Tests don't test what you think they're testing. | High | Fix Released | |
Bug #1099483: Need a dbus method to inspect dbus call log | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 101. By Robert Bruce Park
-
Use str.index instead of str.find.
The reason for this is that str.index will raise an exception if the
substring is not found, which will cause the test to fail; str.find
will return -1 if the substring is not found, which technically
evaluates to true, and thus doesn't cause the test to fail at all if
the string is not found. - 100. By Robert Bruce Park
-
Add new dbus methods ClearLog and QueryCalls.
These make it easier to test the mocked method signatures when your
testsuite is written in a different language than Python, running in a
separate process than dbusmock. - 94. By Martin Pitt
-
Fix race condition in waiting for mock to get online on the bus, by avoiding triggering D-BUS service activation with system-installed services.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~pitti/python-dbusmock/old-bzr-trunk