{"action":"created","issue":{"url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/9","labels_url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/9/comments","events_url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/9/events","html_url":"https://github.com/PearsonEducation/Alarmageddon/issues/9","id":105889775,"number":9,"title":"json less then expiation missing JSON property","user":{"login":"curtisallen","id":270735,"avatar_url":"https://avatars.githubusercontent.com/u/270735?v=3","gravatar_id":"","url":"https://api.github.com/users/curtisallen","html_url":"https://github.com/curtisallen","followers_url":"https://api.github.com/users/curtisallen/followers","following_url":"https://api.github.com/users/curtisallen/following{/other_user}","gists_url":"https://api.github.com/users/curtisallen/gists{/gist_id}","starred_url":"https://api.github.com/users/curtisallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curtisallen/subscriptions","organizations_url":"https://api.github.com/users/curtisallen/orgs","repos_url":"https://api.github.com/users/curtisallen/repos","events_url":"https://api.github.com/users/curtisallen/events{/privacy}","received_events_url":"https://api.github.com/users/curtisallen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-10T20:18:18Z","updated_at":"2015-09-10T21:15:56Z","closed_at":null,"body":"While developing a storm validator, I noticed this bug that is better summed up with this test\r\nhttps://github.com/curtisallen/Alarmageddon/commit/2792db23b6f2459d283713d70a93a5d0119de10f\r\n\r\n```python\r\ndef test_get_json_value_less_than_zero(httpserver):\r\n    httpserver.serve_content(code=200,\r\n                             headers={\"content-type\": \"application/json\"},\r\n                             content='{\"mode\": \"NORMAL\",\"failed\":0}')\r\n    (HttpValidation.get(httpserver.url)\r\n     .expect_json_property_value_less_than(\"failed\", 2)\r\n     .perform({}))\r\n```\r\nWill produce `ValidationFailure: 'missing JSON property failed'` this should pass. Haven't started looking at a solution but I may take a crack at it. "},"comment":{"url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/comments/139381579","html_url":"https://github.com/PearsonEducation/Alarmageddon/issues/9#issuecomment-139381579","issue_url":"https://api.github.com/repos/PearsonEducation/Alarmageddon/issues/9","id":139381579,"user":{"login":"timjstewart","id":55925,"avatar_url":"https://avatars.githubusercontent.com/u/55925?v=3","gravatar_id":"","url":"https://api.github.com/users/timjstewart","html_url":"https://github.com/timjstewart","followers_url":"https://api.github.com/users/timjstewart/followers","following_url":"https://api.github.com/users/timjstewart/following{/other_user}","gists_url":"https://api.github.com/users/timjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/timjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timjstewart/subscriptions","organizations_url":"https://api.github.com/users/timjstewart/orgs","repos_url":"https://api.github.com/users/timjstewart/repos","events_url":"https://api.github.com/users/timjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/timjstewart/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T21:15:56Z","updated_at":"2015-09-10T21:15:56Z","body":"You're test is passing now.  Please let me know if you have any other problems with Alarmageddon."}}