diff options
Diffstat (limited to 'test/fs.py')
| -rw-r--r-- | test/fs.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -267,8 +267,8 @@ def discovery(binary, embedded=False): # wctl `current` does; a pane's ctl line ends saying which it is. client.write('/focus', f'{first}\n'.encode()) assert client.read('/focus') == f'{first}\n'.encode() - assert client.read(f'/pane/{first}/ctl').endswith(b' current ') - assert client.read(f'/pane/{second}/ctl').endswith(b' notcurrent ') + assert b' current ' in client.read(f'/pane/{first}/ctl') + assert b' notcurrent ' in client.read(f'/pane/{second}/ctl') try: client.write('/focus', b'99999\n') raise AssertionError('focus took a serial no pane has') |
