[dconf: 1/3] tests: Use more concise key and value



commit 108158af9e0db6f05ff10d75e2349b7db91013ae
Author: Tomasz Miąsko <tomasz miasko gmail com>
Date:   Tue Feb 12 00:00:00 2019 +0000

    tests: Use more concise key and value

 tests/test-dconf.py | 9 ++++-----
 1 file 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]