summaryrefslogtreecommitdiff
path: root/test/fs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/fs.py')
-rw-r--r--test/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fs.py b/test/fs.py
index 9fb560e0..b7e8adcc 100644
--- a/test/fs.py
+++ b/test/fs.py
@@ -276,7 +276,7 @@ def discovery(binary, embedded=False):
# word, `arg` if it takes one, its ctl, a setting's values, then `-- ` what it does
assert all(r.split()[2 if r.split()[1] == 'arg' else 1] in ('root', 'pane', 'both') for r in commands), commands
assert row('Placement arg root acme,pardes'), commands
- assert client.stat('/commands')['length'] == len('\n'.join(commands)) + 1
+ assert client.stat('/commands')['length'] == len('\n'.join(commands).encode()) + 1 # bytes: a description may end in …
client.write(f'/pane/{first}/ctl', b'Msg said through ctl\n')
assert 'said through ctl' in ''.join(cell[0] for cell in client.screen()['cells'])
assert set(client.list('/pane')) == {'new', str(fixture), str(first), str(second)}