initial commit of types library
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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
|
||||
Reference in New Issue
Block a user