Mercurial > hg > configuration
comparison tests/example.py @ 3:1175fbabacaf
more stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 24 Mar 2012 20:42:29 -0700 |
parents | b3023ba3c9ca |
children | 92e1b2dd60c8 |
comparison
equal
deleted
inserted
replaced
2:35f57b21885f | 3:1175fbabacaf |
---|---|
1 from configuration import Configuration | 1 from configuration import Configuration |
2 | 2 |
3 class ExampleConfiguration(Configuration): | 3 class ExampleConfiguration(Configuration): |
4 """example configuration instance""" | 4 """example configuration instance""" |
5 options = { | |
6 'activeTests': {'type': list, | |
7 'required': "No tests specified; please specify --activeTests", | |
8 'help': 'Specify tests to run', | |
9 'flags': ['-a', '--activeTests']}, # command line flags | |
10 'title': {'help': 'talos run title'}, | |
11 'browser_path': {'required': True, | |
12 'flags': ['-e', '--executablePath'], | |
13 'help': 'path to firefox'} | |
14 } | |
15 | |
16 if __name__ == '__main__': | |
17 pass |