Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: testing/legion/examples/hello_world/client_test.py

Issue 890773003: Adding the initial code for Omnibot multi-machine support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 """A simple client test module."""
6 import argparse
7 import os
8
9
10 def main():
11 parser = argparse.ArgumentParser()
12 parser.add_argument('name')
13 args = parser.parse_args()
14 print 'Hello world from', args.name
15
Marc-Antoine Ruel (Google) 2015/01/30 18:00:21 return 0 (I just like to do this for consistency)
Mike Meade 2015/01/30 21:04:04 Done.
16
17 if __name__ == '__main__':
18 main()
Marc-Antoine Ruel (Google) 2015/01/30 18:00:21 sys.exit(main())
Mike Meade 2015/01/30 21:04:04 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698