I noticed that test_submit_link_post was fetching the Google homepage and thumbnailing it, but whether or not this activity succeeds or fails has no effect on whether the test passes. Make the tests a little faster, especially for those of us on slow network connections, by mocking out requests.get for this test.
I noticed that
test_submit_link_post
was fetching the Google homepage and thumbnailing it, but whether or not this activity succeeds or fails has no effect on whether the test passes. Make the tests a little faster, especially for those of us on slow network connections, by mocking outrequests.get
for this test.