summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2019-02-12 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2019-02-12 18:59:03 +0100
commit108158af9e0db6f05ff10d75e2349b7db91013ae (patch)
treeb60cbc63dd89be50b5644c223da4dcddfc981e63 /tests
parentf0bb97ded21f8d2fb50065e7cfefade66a70333e (diff)
downloaddconf-108158af9e0db6f05ff10d75e2349b7db91013ae.tar.gz
tests: Use more concise key and value
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-dconf.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/test-dconf.py b/tests/test-dconf.py
index 51e522b..1e143e2 100755
--- a/tests/test-dconf.py
+++ b/tests/test-dconf.py
@@ -714,8 +714,8 @@ class DBusTest(unittest.TestCase):
host='172.16.0.1'
enabled=true
- [org/gnome/desktop/background]
- picture-uri='file:///usr/local/rupert-corp/company-wallpaper.jpeg'
+ [org/gnome/desktop]
+ background='company-wallpaper.jpeg'
'''))
# Lock proxy settings.
@@ -746,9 +746,8 @@ class DBusTest(unittest.TestCase):
dconf_locks('/org/gnome/', env=env))
# Changing unlocked defaults is fine.
- dconf('write', '/org/gnome/desktop/background/picture-uri',
- '"file:///usr/share/backgrounds/gnome/ColdWarm.jpg"',
- env=env)
+ dconf('write', '/org/gnome/desktop/background',
+ '"ColdWarm.jpg"', env=env)
# It is an error to change locked keys.
with self.assertRaises(subprocess.CalledProcessError) as cm: