Pacify Python 3

`b"foo"` is `str` in Python 2, `bytes` in Python 3
This commit is contained in:
Sajith Sasidharan 2021-03-27 11:26:27 -04:00
parent 415f3b2866
commit c392a334fc

View File

@ -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",