☰
Debian Codegraph
@
5.6.3-3
5.6.3-2
/
/
t
/
unit
/
utils
/
test_objects.py
☽
☼
t/unit/utils/test_objects.py
code
plain
raw
BSD-3-clause-ask-solem
2009-2016, Ask Solem and contributors.; 2012-2014, GoPivotal, Inc.
debian/copyright
1
from celery.utils.objects import Bunch
2
3
4
class test_Bunch:
5
6
def test(self):
7
x = Bunch(foo='foo', bar=2)
8
assert x.foo == 'foo'
9
assert x.bar == 2