diff tests/example.py @ 102:c530f6265deb

allow extensible configuration; also start using deepcopy heavily since otherwise you have artefacts
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 01 May 2012 10:33:37 -0700
parents 490687e70723
children
line wrap: on
line diff
--- a/tests/example.py	Mon Apr 30 13:21:48 2012 -0700
+++ b/tests/example.py	Tue May 01 10:33:37 2012 -0700
@@ -17,9 +17,12 @@
                     'type': bool},
         'test_timeout': {'help': "Time to wait for the browser to output to the log file",
                          'default': 1200},
-        'preferences': {'type': dict,
+        'preferences': {'help': 'profile preferences',
+                        'default': {'browser.bookmarks.max_backups': 0,
+                                    'browser.cache.disk.smart_size.enabled': False},
                         'flags': ['-p', '--pref']}
         }
+    extend = set(['preferences'])
 
 if __name__ == '__main__':
     from pprint import pprint