changeset 56:7f8e9c5d1606

introduce a somewhat redundant test
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 27 Mar 2012 14:56:54 -0700
parents 87bd539a21d3
children 11a498419193
files tests/unit.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/unit.py	Tue Mar 27 14:55:29 2012 -0700
+++ b/tests/unit.py	Tue Mar 27 14:56:54 2012 -0700
@@ -121,5 +121,10 @@
         config['browser_path'] = '/opt/bin/firefox'
         self.assertEqual(example.config, config)
 
+        # it shouldn't matter in which order the arguments are
+        example = ExampleConfiguration()
+        example.parse(args1 + [json_file])
+        self.assertEqual(example.config, config)
+
 if __name__ == '__main__':
     unittest.main()