comparison tests/example.py @ 22:f6c3f91af7f2

add something with a default value
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 26 Mar 2012 14:51:44 -0700
parents cadc9514f60a
children 73e72a764c3a
comparison
equal deleted inserted replaced
21:0fe74db6a56c 22:f6c3f91af7f2
11 'browser_path': {'required': True, 11 'browser_path': {'required': True,
12 'flags': ['-e', '--executablePath'], 12 'flags': ['-e', '--executablePath'],
13 'help': 'path to firefox'}, 13 'help': 'path to firefox'},
14 'develop': {'help': "useful for running tests on a developer machine. Creates a local webserver and doesn't upload to the graph servers.", 14 'develop': {'help': "useful for running tests on a developer machine. Creates a local webserver and doesn't upload to the graph servers.",
15 'type': bool} 15 'type': bool}
16 'test_timeout': {'type': int,
17 'help': "Time to wait for the browser to output to the log file",
18 'default': 1200},
16 } 19 }
17 20
18 if __name__ == '__main__': 21 if __name__ == '__main__':
19 options, args = ExampleConfiguration().parse() 22 options, args = ExampleConfiguration().parse()
20 23