Skip to content

Commit 8d60c61

Browse files
committed
✅ Expect https://dummy_host in test
1 parent 05ad9a6 commit 8d60c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TestLogtailHandler(unittest.TestCase):
1919
def test_handler_creates_uploader_from_args(self, MockWorker):
2020
handler = LogtailHandler(source_token=self.source_token, host=self.host)
2121
self.assertEqual(handler.uploader.source_token, self.source_token)
22-
self.assertEqual(handler.uploader.host, self.host)
22+
self.assertEqual(handler.uploader.host, "https://" + self.host)
2323

2424
@patch('logtail.handler.FlushWorker')
2525
def test_handler_creates_pipe_from_args(self, MockWorker):

0 commit comments

Comments
 (0)