diff tests/unit.py @ 34:79aca36abd9a

fill in defaults if not present
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 27 Mar 2012 09:30:56 -0700
parents b7d6a90b0bb5
children d218df4d0b4c
line wrap: on
line diff
--- a/tests/unit.py	Mon Mar 26 20:31:12 2012 -0700
+++ b/tests/unit.py	Tue Mar 27 09:30:56 2012 -0700
@@ -53,6 +53,11 @@
 
         # serialize to a temporary file
         filename = tempfile.mktemp()
+        config = {'browser_path': '/home/jhammel/bin/firefox',
+                  'activeTests':  ['ts']}
+        example(config)
+        config['test_timeout'] = 1200 # default
+        self.assertEqual(config, example.config)
         if os.path.exists(filename):
             os.remove(filename)