diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-08-31 14:24:56 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-08-31 15:37:17 +0100 |
commit | f6bb84c370ca350757f27ec486713376186f89a4 (patch) | |
tree | ccabf392a279edbf66d5d61dfc0fc2916adc27ea /tests | |
parent | 2c82847081b8c28ff18adc1ab3c6a49de2b6b151 (diff) |
tests: don't test Compat.Profile property.
This is slated for removal.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/twisted/account-manager/account-basics.py | 2 | ||||
-rw-r--r-- | tests/twisted/account-manager/create-with-properties.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/twisted/account-manager/account-basics.py b/tests/twisted/account-manager/account-basics.py index 51328ce9..1a8e86eb 100644 --- a/tests/twisted/account-manager/account-basics.py +++ b/tests/twisted/account-manager/account-basics.py @@ -189,7 +189,7 @@ def test(q, bus, mc): else: raise AssertionError('Setting %s with wrong type should fail' % p) - for p in ('Profile', 'SecondaryVCardFields'): + for p in ('SecondaryVCardFields'): try: account_props.Set(cs.ACCOUNT_IFACE_NOKIA_COMPAT, p, badly_typed) except dbus.DBusException, e: diff --git a/tests/twisted/account-manager/create-with-properties.py b/tests/twisted/account-manager/create-with-properties.py index 5aabfc76..235853e9 100644 --- a/tests/twisted/account-manager/create-with-properties.py +++ b/tests/twisted/account-manager/create-with-properties.py @@ -55,7 +55,6 @@ def test(q, bus, mc): assert (cs.ACCOUNT + '.Nickname') in supported assert (cs.ACCOUNT + '.ConnectAutomatically') in supported assert (cs.ACCOUNT_IFACE_AVATAR + '.Avatar') in supported - assert (cs.ACCOUNT_IFACE_NOKIA_COMPAT + '.Profile') in supported assert (cs.ACCOUNT_IFACE_NOKIA_COMPAT + '.SecondaryVCardFields') in supported assert (cs.ACCOUNT_IFACE_NOKIA_CONDITIONS + '.Condition') in supported @@ -82,7 +81,6 @@ def test(q, bus, mc): cs.ACCOUNT + '.ConnectAutomatically': True, cs.ACCOUNT_IFACE_AVATAR + '.Avatar': (dbus.ByteArray('foo'), 'image/jpeg'), - cs.ACCOUNT_IFACE_NOKIA_COMPAT + '.Profile': 'openarena', cs.ACCOUNT_IFACE_NOKIA_COMPAT + '.SecondaryVCardFields': dbus.Array(['x-ioquake3', 'x-quake3'], signature='s'), cs.ACCOUNT_IFACE_NOKIA_CONDITIONS + '.Condition': @@ -139,7 +137,6 @@ def test(q, bus, mc): 'image/jpeg') properties = account_props.GetAll(cs.ACCOUNT_IFACE_NOKIA_COMPAT) - assert properties.get('Profile') == 'openarena' assert sorted(properties.get('SecondaryVCardFields')) == \ ['x-ioquake3', 'x-quake3'] |