lp:~lifeless/testtools/matchers
Created by
Robert Collins
and last modified
- Get this branch:
- bzr branch lp:~lifeless/testtools/matchers
Only
Robert Collins
can upload to this branch. If you are
Robert Collins
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Jonathan Lange: Needs Fixing
-
Diff: 602 lines (+219/-65)6 files modifiedNEWS (+8/-0)
doc/for-test-authors.rst (+26/-0)
testtools/matchers.py (+84/-4)
testtools/testcase.py (+38/-37)
testtools/tests/test_matchers.py (+36/-0)
testtools/tests/test_testcase.py (+27/-24)
Branch information
Recent revisions
- 234. By Robert Collins
-
* ``MatchesExcept
ion`` now permits a tuple of types rather than a single type
(when using the type matching mode). (Robert Collins)And finished off migrating the API exposed assert* functions via matches.
Other than assertRaises, all copacetic.assertRaises is a little fugly, which I think mainly points at the
awkwardness of its preexisting interface. We may want to leave it not
implemented via matches (though actually I think it is better to migrate
it even with the awkwardness. - 229. By Robert Collins
-
* assertThat accepts a message which will be used to annotate the matcher. This
can be given as a third parameter or as a keyword parameter. (Robert Collins)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~testtools-committers/testtools/trunk