Skip to content

Commit bb1592e

Browse files
committed
1 parent 3f557cd commit bb1592e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_uploader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TestUploader(unittest2.TestCase):
1212
source_token = 'dummy_source_token'
1313
frame = [1, 2, 3]
1414

15-
@mock.patch('logtail.uploader.requests.post')
15+
@mock.patch('logtail.uploader.requests.Session.post')
1616
def test_call(self, post):
1717
def mock_post(endpoint, data=None, headers=None):
1818
# Check that the data is sent to ther correct endpoint

0 commit comments

Comments
 (0)