Skip to content

Commit b2f2007

Browse files
committed
Fix tests
It's might be due to the new version of the Mixpanel package.
1 parent c7b7e52 commit b2f2007

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/async_buffered_consumer_test.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ def test_does_not_drop_events(self):
148148

149149
self.wait_for_threads()
150150

151-
send_patch.assert_called_once_with(self.ENDPOINT, '[{"test": true}]', None)
151+
send_patch.assert_called_once_with(
152+
self.ENDPOINT,
153+
'[{"test": true}]',
154+
api_key=None,
155+
)
152156
self.assertEqual(self.consumer._async_buffers[self.ENDPOINT], [self.JSON])
153157

154158
def test_raises_exception_with_bad_endpoint(self):

0 commit comments

Comments
 (0)