Commit Graph
4 Commits
Author SHA1 Message Date
Evgeny Anatskiy 90d59ac923 fix webhooks tests 2018-02-01 12:18:02 -05:00
Nicola Soranzo 48aca7dce8 Update to flake8-import-order 0.16 2017-12-01 11:09:57 +00:00
John Chilton 8b30d874b5 Update webhooks API test to set expectations independent of implementation.
It may seem like this is testing less since fewer API calls are being made - but when you use the backend to generate the data you trust in the test case - the correlation lands up meaning relatively less is tested. For instance, if there is some problem arises in the to_dict method of a webhook - it is going to arise in both the implementation and in the test case and so the test case will just be asserting that the response is broken ... and it will be. Testing more concrete things is also good for ensuring backward compatibility.
2017-01-24 12:23:44 -05:00
Evgeny Anatskiy 809c087a8a - add Webhooks tests
- small code improvements
2017-01-24 01:20:28 +01:00