fixup test
This commit is contained in:
parent
17a951b1b2
commit
926d2fdaf6
|
@ -160,8 +160,8 @@ def test_spell_slots(db, carl, wizard):
|
||||||
|
|
||||||
def test_containers(db, carl):
|
def test_containers(db, carl):
|
||||||
with db.transaction():
|
with db.transaction():
|
||||||
ten_foot_pole = Item(name="10ft. Pole", item_type=ItemType.ITEM, consumable=False)
|
ten_foot_pole = Item(name="10ft. Pole")
|
||||||
rope = Item(name="50 ft. of Rope", item_type=ItemType.ITEM, consumable=True, count=50)
|
rope = Item(name="50 ft. of Rope", consumable=True, count=50)
|
||||||
bag_of_holding = Container(name="Bag of Holding")
|
bag_of_holding = Container(name="Bag of Holding")
|
||||||
db.add_or_update([carl, ten_foot_pole, rope, bag_of_holding])
|
db.add_or_update([carl, ten_foot_pole, rope, bag_of_holding])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user