MCPcopy
hub / github.com/danielgtaylor/python-betterproto / test_equality_comparison

Function test_equality_comparison

tests/test_features.py:673–682  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

671
672
673def test_equality_comparison():
674 from tests.output_betterproto.bool import Test as TestMessage
675
676 msg = TestMessage(value=True)
677
678 assert msg == msg
679 assert msg == ANY
680 assert msg == TestMessage(value=True)
681 assert msg != 1
682 assert msg != TestMessage(value=False)

Callers

nothing calls this directly

Calls 1

TestMessageClass · 0.70

Tested by

no test coverage detected