Mercurial > hg > configuration
comparison tests/example.py @ 19:cadc9514f60a
we have a legitimately failing test!
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 26 Mar 2012 13:54:43 -0700 |
parents | 12162afcd78f |
children | f6c3f91af7f2 |
comparison
equal
deleted
inserted
replaced
18:d8871956536e | 19:cadc9514f60a |
---|---|
8 'help': 'Specify tests to run', | 8 'help': 'Specify tests to run', |
9 'flags': ['-a', '--activeTests']}, # command line flags | 9 'flags': ['-a', '--activeTests']}, # command line flags |
10 'title': {'help': 'talos run title'}, | 10 'title': {'help': 'talos run title'}, |
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.", | |
15 'type': bool} | |
14 } | 16 } |
15 | 17 |
16 if __name__ == '__main__': | 18 if __name__ == '__main__': |
17 parser = ExampleConfiguration().parser() | 19 options, args = ExampleConfiguration().parse() |
18 parser.parse_args() | 20 |