Mercurial > hg > configuration
diff tests/unit.py @ 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 | f7dc5cf2540c |
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()