mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-17 23:46:09 +00:00
Pacify Python 3
`b"foo"` is `str` in Python 2, `bytes` in Python 3
This commit is contained in:
parent
415f3b2866
commit
c392a334fc
@ -233,9 +233,9 @@ class Invite(GridTestMixin, CLITestMixin, unittest.TestCase):
|
||||
successfully send an invite
|
||||
"""
|
||||
invite = yield self._invite_success((
|
||||
b"--shares-needed", b"1",
|
||||
b"--shares-happy", b"2",
|
||||
b"--shares-total", b"3",
|
||||
"--shares-needed", "1",
|
||||
"--shares-happy", "2",
|
||||
"--shares-total", "3",
|
||||
))
|
||||
self.assertEqual(
|
||||
invite["shares-needed"], "1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user