MCPcopy
hub / github.com/celery/celery / test

Method test

t/unit/utils/test_objects.py:6–9  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4class test_Bunch:
5
6 def test(self):
7 x = Bunch(foo='foo', bar=2)
8 assert x.foo == 'foo'
9 assert x.bar == 2

Calls 1

BunchClass · 0.90

Tested by

no test coverage detected