MCPcopy Create free account
hub / github.com/celery/celery / test_test_enter

Method test_test_enter

t/unit/utils/test_timer2.py:109–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 mock_stop_event.set.assert_called_with()
108
109 def test_test_enter(self):
110 t = timer2.Timer()
111 t._do_enter = Mock()
112 e = Mock()
113 t.enter(e, 13, 0)
114 t._do_enter.assert_called_with('enter_at', e, 13, priority=0)
115
116 def test_test_enter_after(self):
117 t = timer2.Timer()

Callers

nothing calls this directly

Calls 1

enterMethod · 0.95

Tested by

no test coverage detected