MCPcopy Create free account
hub / github.com/McCloudS/subgen / test_active_while_processing

Method test_active_while_processing

tests/test_queue.py:85–88  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

83 assert q.is_active("/a/b.mkv") is True
84
85 def test_active_while_processing(self, q):
86 q.put(_task("/a/b.mkv"))
87 q.get()
88 assert q.is_active("/a/b.mkv") is True
89
90 def test_not_active_when_absent(self, q):
91 assert q.is_active("/a/b.mkv") is False

Callers

nothing calls this directly

Calls 4

_taskFunction · 0.85
putMethod · 0.80
getMethod · 0.80
is_activeMethod · 0.80

Tested by

no test coverage detected