We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f557cd commit bb1592eCopy full SHA for bb1592e
tests/test_uploader.py
@@ -12,7 +12,7 @@ class TestUploader(unittest2.TestCase):
12
source_token = 'dummy_source_token'
13
frame = [1, 2, 3]
14
15
- @mock.patch('logtail.uploader.requests.post')
+ @mock.patch('logtail.uploader.requests.Session.post')
16
def test_call(self, post):
17
def mock_post(endpoint, data=None, headers=None):
18
# Check that the data is sent to ther correct endpoint
0 commit comments