diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)} |
