Skip to content

Commit

Permalink
Merge #557
Browse files Browse the repository at this point in the history
557: Fix the use of deprecated attributes in tests r=AstraLuma a=mfonism

This PR fixes the use of deprecated attributes in tests as per #517

Co-authored-by: Mfon Eti-mfon <[email protected]>
  • Loading branch information
bors[bot] and mfonism authored Mar 20, 2021
2 parents 2a1bd84 + 36769fd commit 0426090
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 0426090

Please sign in to comment.