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

Method test_annotate_any

t/unit/app/test_annotations.py:30–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 assert x.annotate(self.mul) is None
29
30 def test_annotate_any(self):
31 x = MapAnnotation({'*': {'foo': 2}})
32 assert x.annotate_any() == {'foo': 2}
33
34 x = MapAnnotation()
35 assert x.annotate_any() is None
36
37
38class test_prepare(AnnotationCase):

Callers

nothing calls this directly

Calls 2

annotate_anyMethod · 0.95
MapAnnotationClass · 0.90

Tested by

no test coverage detected