{"action":"created","issue":{"url":"https://api.github.com/repos/pyca/cryptography/issues/1773","labels_url":"https://api.github.com/repos/pyca/cryptography/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/pyca/cryptography/issues/1773/comments","events_url":"https://api.github.com/repos/pyca/cryptography/issues/1773/events","html_url":"https://github.com/pyca/cryptography/pull/1773","id":63699288,"number":1773,"title":"Property based testing with Hypothesis","user":{"login":"Ayrx","id":1937160,"avatar_url":"https://avatars.githubusercontent.com/u/1937160?v=3","gravatar_id":"","url":"https://api.github.com/users/Ayrx","html_url":"https://github.com/Ayrx","followers_url":"https://api.github.com/users/Ayrx/followers","following_url":"https://api.github.com/users/Ayrx/following{/other_user}","gists_url":"https://api.github.com/users/Ayrx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayrx/subscriptions","organizations_url":"https://api.github.com/users/Ayrx/orgs","repos_url":"https://api.github.com/users/Ayrx/repos","events_url":"https://api.github.com/users/Ayrx/events{/privacy}","received_events_url":"https://api.github.com/users/Ayrx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-03-23T11:21:10Z","updated_at":"2015-09-29T13:34:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pyca/cryptography/pulls/1773","html_url":"https://github.com/pyca/cryptography/pull/1773","diff_url":"https://github.com/pyca/cryptography/pull/1773.diff","patch_url":"https://github.com/pyca/cryptography/pull/1773.patch"},"body":"So I have been playing around with [Hypothesis](http://hypothesis.readthedocs.org/en/latest/#where-hypothesis-comes-from) a bit and it seems like a very useful addition to our test suite.\r\n\r\nThis PR sets up the groundwork needed to start using Hypothesis in the cryptography test suite, as well as a single test (round trip encrypt-decrypt for Fernet) to start off with. \r\n\r\nHypothesis currently does not (and probably does not plan to) support Python 2.6. The approach I have taken is to not install Hypothesis in the Python 2.6 tox target and use `pytest.importorskip` to skip the test if the import fails.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/pyca/cryptography/issues/comments/144059990","html_url":"https://github.com/pyca/cryptography/pull/1773#issuecomment-144059990","issue_url":"https://api.github.com/repos/pyca/cryptography/issues/1773","id":144059990,"user":{"login":"Ayrx","id":1937160,"avatar_url":"https://avatars.githubusercontent.com/u/1937160?v=3","gravatar_id":"","url":"https://api.github.com/users/Ayrx","html_url":"https://github.com/Ayrx","followers_url":"https://api.github.com/users/Ayrx/followers","following_url":"https://api.github.com/users/Ayrx/following{/other_user}","gists_url":"https://api.github.com/users/Ayrx/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayrx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayrx/subscriptions","organizations_url":"https://api.github.com/users/Ayrx/orgs","repos_url":"https://api.github.com/users/Ayrx/repos","events_url":"https://api.github.com/users/Ayrx/events{/privacy}","received_events_url":"https://api.github.com/users/Ayrx/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T13:34:32Z","updated_at":"2015-09-29T13:34:32Z","body":"We can definitely expand this to most if not all of our public interfaces at the very least. "}}