Skip to content

Commit

Permalink
Fix the use of deprecated attributes in tests
Browse files Browse the repository at this point in the history
Closes #517
  • Loading branch information
mfonism committed Oct 31, 2020
1 parent 06643ee commit 36769fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_gom.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ def test_remove_methods(container, player, enemies):
container.remove(player)

assert player not in container
for kind in container.kinds():
for kind in container.children.kinds():
assert player not in container.get(kind=kind)
for tag in container.tags():
for tag in container.children.tags():
assert player not in container.get(tag=tag)

assert enemies[0] in container
Expand Down

0 comments on commit 36769fd

Please sign in to comment.