diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/fs.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -393,7 +393,8 @@ def discovery(binary, embedded=False): while client.read('/log').decode().count('\nexit ') <= seen: assert time.monotonic() < deadline, 'diff -u never ended' time.sleep(.05) - ran = [row.split()[0] for row in client.read('/index').decode().splitlines() if row.split()[1] == 'term'] + # A command's pane is kind cmd, not term: no shell to type into. + ran = [row.split()[0] for row in client.read('/index').decode().splitlines() if row.split()[1] == 'cmd'] shown = client.read(f'/pane/{ran[-1]}/body').decode() assert '+++ diff-new.txt' in shown and '\t' not in shown, shown client.write(f'/pane/{ran[-1]}/look', b'+TWO\n') |
