MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / DummyItem

Class DummyItem

test/ext/test_orderinglist.py:483–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481
482
483class DummyItem:
484 def __init__(self, order=None):
485 self.order = order
486
487 def __eq__(self, other):
488 return self.order == other.order
489
490 def __ne__(self, other):
491 return not (self == other)
492
493
494class MockIndex:

Callers 1

test_picklabilityMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_picklabilityMethod · 0.68