MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / get_signal_output

Method get_signal_output

tests/test_signals.py:14–19  ·  view source on GitHub ↗
(self, fn, *args, **kwargs)

Source from the content-addressed store, hash-verified

12 """
13
14 def get_signal_output(self, fn, *args, **kwargs):
15 # Flush any existing signal output
16 global signal_output
17 signal_output = []
18 fn(*args, **kwargs)
19 return signal_output
20
21 def setUp(self):
22 connect(db="mongoenginetest")

Calls

no outgoing calls

Tested by

no test coverage detected