diff options
author | 2017-01-12 08:42:52 +0000 | |
---|---|---|
committer | 2017-01-12 08:42:52 +0000 | |
commit | b2bab28cd8c8e72b230a6286f7d951f1c873bd83 (patch) | |
tree | 032549981f284d00c008d4e21f399fb6901bfc35 /utils/dashboard/uploader.py | |
parent | e1a54d34819563946d1ff1ec673d1d261b826ad8 (diff) | |
parent | 08b12e7a7f0b5971282c371b0d0b9320030f3874 (diff) |
Merge "Modify utils/ code into PEP8 style"
Diffstat (limited to 'utils/dashboard/uploader.py')
-rwxr-xr-x | utils/dashboard/uploader.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/dashboard/uploader.py b/utils/dashboard/uploader.py index a4686560..97ffd38c 100755 --- a/utils/dashboard/uploader.py +++ b/utils/dashboard/uploader.py @@ -51,7 +51,8 @@ class Uploader(object): def _test(): - #data = '{"details": [{"client": 200, "throughput": 20}, {"client": 300, "throughput": 20}], "case_name": "rubbos"}' + # data = '{"details": [{"client": 200, "throughput": 20}, + # {"client": 300, "throughput": 20}], "case_name": "rubbos"}' if len(sys.argv) < 2: print ("no argumens input!!") exit(1) @@ -60,5 +61,6 @@ def _test(): data = json.load(stream) Uploader().upload_result(data) + if __name__ == "__main__": _test() |