MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _fixture

Method _fixture

test/base/test_events.py:368–382  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

366
367class NamedCallTest(TearDownLocalEventsFixture, fixtures.TestBase):
368 def _fixture(self):
369 class TargetEventsOne(event.Events):
370 def event_one(self, x, y):
371 pass
372
373 def event_two(self, x, y, **kw):
374 pass
375
376 def event_five(self, x, y, z, q):
377 pass
378
379 class TargetOne:
380 dispatch = event.dispatcher(TargetEventsOne)
381
382 return TargetOne
383
384 def _wrapped_fixture(self):
385 class TargetEvents(event.Events):

Callers 3

test_kw_acceptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected