dnd-item-generator/tests/test_types.py
2023-12-23 16:41:21 -08:00

12 lines
195 B
Python

from dnd_item import types
def test_item_attributes():
item = types.Item.from_dict(
foo='bar',
baz={
'qaz': True
}
)
assert item.baz.qaz is True