diff options
Diffstat (limited to 'test/tag_cleanup.py')
| -rw-r--r-- | test/tag_cleanup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tag_cleanup.py b/test/tag_cleanup.py index ae0a0e66..80bdb4b0 100644 --- a/test/tag_cleanup.py +++ b/test/tag_cleanup.py @@ -30,11 +30,11 @@ def run(args): pdf = next(serial for serial, tag in panes(client).items() if str(source) in tag) pdf_tag = client.read(f'/pane/{pdf}/tag').decode().strip() require(pdf_tag.startswith(str(source) + ' [1/'), 'PDF name/page prefix missing') - require(pdf_tag.endswith('] Tty Del PdfSections PdfTint Collapse'), 'PDF commands missing') + require(pdf_tag.endswith('] Term Del PdfSections PdfTint Collapse'), 'PDF commands missing') require(all(word not in pdf_tag for word in ['PdfFit', 'filtered', 'full', 'disabled']), 'PDF tag contains fit or tint-state clutter') control = new_pane(client, b'') before = set(panes(client)) - execute(client, control, 'Tty') + execute(client, control, 'Term') tty = require(wait_for(lambda: next((s for s in panes(client) if s not in before), None)), 'terminal missing') client.write(f'/pane/{control}/exec', b'Del\n') # owned command-only scratch |
