diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-29 11:57:55 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-31 14:45:32 +0000 |
commit | 2fc29053c44c046e6204bd7885d78b9deaf85693 (patch) | |
tree | 795c0dcc22d22775e0a3244b877ce8338027fa3e /tests/twisted | |
parent | d266e4cf1679524c98ac34c40d9f0298ced9f556 (diff) |
Rename default account-store backend from default to keyfile
If we're going to change the default, leaving it called 'default'
makes little sense!
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54875
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'tests/twisted')
-rw-r--r-- | tests/twisted/account-storage/default-keyring-storage.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/twisted/account-storage/default-keyring-storage.py b/tests/twisted/account-storage/default-keyring-storage.py index a7857187..74f3bd3b 100644 --- a/tests/twisted/account-storage/default-keyring-storage.py +++ b/tests/twisted/account-storage/default-keyring-storage.py @@ -109,8 +109,7 @@ def test(q, bus, mc): assert kf[group]['Icon'] == 'im-jabber', kf assert kf[group]['Nickname'] == 'Joe Bloggs', kf - # This works wherever the password is stored - pwd = account_store('get', 'default', 'param-password') + pwd = account_store('get', 'keyfile', 'param-password') assert pwd == params['password'], pwd # We no longer use gnome-keyring, so the password is stored as clear-text. @@ -192,7 +191,7 @@ AutomaticPresence=2;available;; assert os.path.exists(low_prio_key_file_name) kf = keyfile_read(new_key_file_name) assert 'param-password' not in kf[group] - pwd = account_store('get', 'default', 'param-password') + pwd = account_store('get', 'keyfile', 'param-password') assertEquals(None, pwd) # Write out an account configuration in the old keyfile, to test |