(self)
| 94 | republish.assert_called() |
| 95 | |
| 96 | def test_limit(self): |
| 97 | with self.move_context(limit=1) as (callback, pred, republish): |
| 98 | pred.return_value = 'foo' |
| 99 | body, message = self.msgpair() |
| 100 | with pytest.raises(StopFiltering): |
| 101 | callback(body, message) |
| 102 | republish.assert_called() |
| 103 | |
| 104 | def test_callback(self): |
| 105 | cb = Mock() |
nothing calls this directly
no test coverage detected