mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-31 15:50:42 +00:00
invalid
This commit is contained in:
parent
e7043f1b03
commit
27e7e5e868
@ -71,11 +71,6 @@ class RenderSlashUri(unittest.TestCase):
|
||||
"""
|
||||
Let hypothesis try a bunch of invalid capabilities
|
||||
"""
|
||||
# existing code insists capabilities are type "str" .. which
|
||||
# sounds like it'll definitely be wrong for python3? (what
|
||||
# does twisted.web produce for stuff in 'fields' or the
|
||||
# equivalent for a plain Request? also maybe I should use that
|
||||
# already?)
|
||||
self.request.args[b"uri"] = [cap.encode('utf8')]
|
||||
with self.assertRaises(WebError):
|
||||
self.res.render_GET(self.request)
|
||||
|
Loading…
x
Reference in New Issue
Block a user