Report if close events are supported in the query response

This commit is contained in:
Kovid Goyal
2024-07-25 18:59:31 +05:30
parent 9c772915fb
commit 0813a3daff
3 changed files with 32 additions and 8 deletions

View File

@@ -204,7 +204,7 @@ def do_test(self: 'TestNotifications') -> None:
# Test querying
h('i=xyz:p=?')
self.assertFalse(di.notifications)
qr = 'a=focus,report:o=always,unfocused,invisible:u=0,1,2:p=title,body,?,close'
qr = 'a=focus,report:o=always,unfocused,invisible:u=0,1,2:p=title,body,?,close:c=1'
self.ae(ch.responses, [f'99;i=xyz:p=?;{qr}'])
reset()
h('p=?')