MCPcopy Create free account
hub / github.com/apache/qpid-proton / expect_until

Method expect_until

python/tests/proton_tests/engine.py:2437–2440  ·  view source on GitHub ↗
(self, *types)

Source from the content-addressed store, hash-verified

2435 assert False, "actual events %s did not match any of the expected sequences: %s" % (events, sequences)
2436
2437 def expect_until(self, *types):
2438 events = self.drain()
2439 etypes = tuple([e.type for e in events[-len(types):]])
2440 assert etypes == types, "actual events %s did not end in expect sequence: %s" % (events, types)
2441
2442
2443class EventTest(CollectorTest):

Callers 1

testLinkDetachMethod · 0.80

Calls 1

drainMethod · 0.95

Tested by

no test coverage detected