[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2777: modernize tests, use "mock"
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Apr 22 16:44:59 UTC 2016
#2777: modernize tests, use "mock"
------------------------+-----------------------
Reporter: warner | Owner:
Type: task | Status: new
Priority: minor | Milestone: undecided
Component: code | Version: 1.11.0
Resolution: | Keywords:
Launchpad Bug: |
------------------------+-----------------------
Comment (by warner):
Oh, and for reference, the signature of assertFailure (when using
inlineCallbacks) is:
* `e = yield self.assertFailure(d, *expectedFailures)`: wait for `d` to
errback, require that it errbacked with one of the given exception types,
and yield the exception. Fail if `d` is callbacked instead of being
errbacked.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2777#comment:4>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list