You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_samples.py shows how one can test read operations for this project. What would be a realistic way to test write operations (i.e. the right issues got created, the correct relations got created). I don't see a way to mock out the write operations.
I could create a test site that gets generated when we test.
The text was updated successfully, but these errors were encountered:
Then self.mock_get is the request.get function mocked out and will intercept all get requests for you. Post, delete and put are also already in the setUp() function, but don't have a variable assigned to them.
test_samples.py
shows how one can test read operations for this project. What would be a realistic way to test write operations (i.e. the right issues got created, the correct relations got created). I don't see a way to mock out the write operations.I could create a test site that gets generated when we test.
The text was updated successfully, but these errors were encountered: