Empty strings are a valid event.
(self)
| 134 | |
| 135 | class TestProcessing: |
| 136 | def test_event_empty_string(self): |
| 137 | """ |
| 138 | Empty strings are a valid event. |
| 139 | """ |
| 140 | b = build_bl(processors=[], context={}) |
| 141 | |
| 142 | args, kw = b._process_event("meth", "", {"foo": "bar"}) |
| 143 | |
| 144 | assert () == args |
| 145 | assert {"event": "", "foo": "bar"} == kw |
| 146 | |
| 147 | def test_copies_context_before_processing(self): |
| 148 | """ |
nothing calls this directly
no test coverage detected