mirror of https://github.com/zulip/zulip.git
queue processors: Exclude TestWorker from coverage.
This commit is contained in:
parent
0709033858
commit
c8e87a322d
|
@ -421,7 +421,7 @@ class TestWorker(QueueProcessingWorker):
|
||||||
# creating significant side effects. It can be useful in development or
|
# creating significant side effects. It can be useful in development or
|
||||||
# for troubleshooting prod/staging. It pulls a message off the test queue
|
# for troubleshooting prod/staging. It pulls a message off the test queue
|
||||||
# and appends it to a file in /tmp.
|
# and appends it to a file in /tmp.
|
||||||
def consume(self, event):
|
def consume(self, event): # nocoverage
|
||||||
# type: (Mapping[str, Any]) -> None
|
# type: (Mapping[str, Any]) -> None
|
||||||
fn = settings.ZULIP_WORKER_TEST_FILE
|
fn = settings.ZULIP_WORKER_TEST_FILE
|
||||||
message = ujson.dumps(event)
|
message = ujson.dumps(event)
|
||||||
|
|
Loading…
Reference in New Issue