MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / check_event

Method check_event

test/test_connection_monitoring.py:188–190  ·  view source on GitHub ↗

Assert that the actual event matches the expected event.

(self, actual, expected)

Source from the content-addressed store, hash-verified

186 self.assertEqual(actual_val, expected_val)
187
188 def check_event(self, actual, expected):
189 """Assert that the actual event matches the expected event."""
190 self.check_object(actual, expected)
191
192 def actual_events(self, ignore):
193 """Return all the non-ignored events."""

Callers 1

check_eventsMethod · 0.95

Calls 1

check_objectMethod · 0.95

Tested by

no test coverage detected