kkc47/Distributed-System--Rating-System — pull request #8 by nwpan (2014-04-08 16:43:11+00:00)
Title: fixing bugs by testing put requests

FYI, latest test build has the following output:
> 2.0.0 ~/Distributed-System--Rating-System/test (master) $python run.py
> Running test #GC4JQA50BE
> {"type": "KEY", "name": "info", "value": "GC4JQA50BE"}
> {"type": "SHARD_COUNT", "name": "info", "value": 4}
> ℹ Running test simple
> {"expected": 5, "got": 5.0, "type": "EXPECT_RATING", "name": "simple"}
> {"expected": [5], "got": [5.0], "type": "EXPECT_CHOICES", "name": "simple"}
> {"expected": [{"c0": 1}], "got": [{"c0": 1}], "type": "EXPECT_CLOCKS", "name": "simple"}
> ℹ Running test testGetGossip
> {"expected": "False", "got": "False", "type": "str", "name": "testGetGossip"}
> {"expected": 0.0, "got": 0.0, "type": "float", "name": "testGetGossip"}
> {"expected": 1.0, "got": 0.0, "type": "float", "name": "testGetGossip"}
> {"expected": [1.0], "got": [], "type": "EXPECT_CHOICES", "name": "testGetGossip"}
> {"expected": [{"c0": 1}], "got": [], "type": "EXPECT_CLOCKS", "name": "testGetGossip"}