diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/twisted/constants.py | 1 | ||||
-rw-r--r-- | tests/twisted/roster/test-google-roster.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/twisted/constants.py b/tests/twisted/constants.py index e9381cd5e..bbb10caa7 100644 --- a/tests/twisted/constants.py +++ b/tests/twisted/constants.py @@ -137,6 +137,7 @@ CONN_IFACE_CONTACT_LIST = CONN + '.Interface.ContactList' CONN_IFACE_CONTACT_GROUPS = CONN + '.Interface.ContactGroups' CONN_IFACE_CLIENT_TYPES = CONN + '.Interface.ClientTypes' CONN_IFACE_POWER_SAVING = CONN + '.Interface.PowerSaving' +CONN_IFACE_CONTACT_BLOCKING = CONN + '.Interface.ContactBlocking' ATTR_CONTACT_CAPABILITIES = CONN_IFACE_CONTACT_CAPS + '/capabilities' diff --git a/tests/twisted/roster/test-google-roster.py b/tests/twisted/roster/test-google-roster.py index 630e3c314..d6c559898 100644 --- a/tests/twisted/roster/test-google-roster.py +++ b/tests/twisted/roster/test-google-roster.py @@ -295,6 +295,9 @@ def test_deny_simple(q, bus, conn, stream, stored, deny): EventPattern('dbus-return', method='RemoveMembers'), ) + assertContains(cs.CONN_IFACE_CONTACT_BLOCKING, + conn.Properties.Get(cs.CONN, "Interfaces")) + # Our server sends roster pushes in response to our unsubscribe and # unsubscribed commands. stream.send(make_set_roster_iq(stream, 'test@localhost/Resource', contact, |