comparison tests/example.py @ 69:92c11cd1d27e

now we check for types more betterer
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Mar 2012 11:05:29 -0700
parents a8013bd3126a
children 490687e70723
comparison
equal deleted inserted replaced
68:1025d283a570 69:92c11cd1d27e
13 'browser_path': {'required': True, 13 'browser_path': {'required': True,
14 'flags': ['-e', '--executablePath'], 14 'flags': ['-e', '--executablePath'],
15 'help': 'path to firefox'}, 15 'help': 'path to firefox'},
16 'develop': {'help': "useful for running tests on a developer machine. Creates a local webserver and doesn't upload to the graph servers.", 16 'develop': {'help': "useful for running tests on a developer machine. Creates a local webserver and doesn't upload to the graph servers.",
17 'type': bool}, 17 'type': bool},
18 'test_timeout': {'type': int, 18 'test_timeout': {'help': "Time to wait for the browser to output to the log file",
19 'help': "Time to wait for the browser to output to the log file",
20 'default': 1200}, 19 'default': 1200},
21 } 20 }
22 21
23 if __name__ == '__main__': 22 if __name__ == '__main__':
24 from pprint import pprint 23 from pprint import pprint