mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 19:34:18 +00:00
fail() takes a message, not Exception
This commit is contained in:
parent
018e161f19
commit
349aefeacc
@ -658,10 +658,8 @@ class WebMixin(testutil.TimezoneMixin):
|
||||
(response_substring, res.value.response,
|
||||
which))
|
||||
else:
|
||||
self.fail(
|
||||
RuntimeError("%s was supposed to raise %s, not get '%s'" %
|
||||
(which, expected_failure, res))
|
||||
)
|
||||
self.fail("%s was supposed to raise %s, not get '%s'" %
|
||||
(which, expected_failure, res))
|
||||
d.addBoth(done)
|
||||
return d
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user