changeset 40:056280e7a6ea

stub munging configuration
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 27 Mar 2012 10:36:23 -0700
parents 3c91bf85adb5
children 1bd4ddf2e81d
files tests/unit.py
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/unit.py	Tue Mar 27 10:29:36 2012 -0700
+++ b/tests/unit.py	Tue Mar 27 10:36:23 2012 -0700
@@ -80,6 +80,16 @@
             missingvalueexception = e
         self.assertTrue(isinstance(e, configuration.MissingValueException))
 
+    def test_multiple_configurations(self):
+        """test having multiple configurations"""
+
+        example = ExampleConfiguration()
+
+        # simple override
+        config1 = {'browser_path': '/home/jhammel/bin/firefox',
+                   'activeTests': ['ts']}
+        args1 = ['-e', '/opt/bin/firefox']
+
 if __name__ == '__main__':
     unittest.main()