initial commit of types library
This commit is contained in:
1 parent
e073647e5d
commit
f379d01f75
10 files changed
+415
-92
No files matched your search
@@ -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