Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
It's might be due to the new version of the Mixpanel package.
  • Loading branch information
bbc2 committed Feb 17, 2021
1 parent c7b7e52 commit b2f2007
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/async_buffered_consumer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ def test_does_not_drop_events(self):

self.wait_for_threads()

send_patch.assert_called_once_with(self.ENDPOINT, '[{"test": true}]', None)
send_patch.assert_called_once_with(
self.ENDPOINT,
'[{"test": true}]',
api_key=None,
)
self.assertEqual(self.consumer._async_buffers[self.ENDPOINT], [self.JSON])

def test_raises_exception_with_bad_endpoint(self):
Expand Down

0 comments on commit b2f2007

Please sign in to comment.