From 36769fd08f30d792a140d872beb858fbce86bcf1 Mon Sep 17 00:00:00 2001 From: Mfon Eti-mfon Date: Sat, 31 Oct 2020 16:02:44 +0100 Subject: [PATCH] Fix the use of deprecated attributes in tests Closes #517 --- tests/test_gom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_gom.py b/tests/test_gom.py index fbeeeb9c..7aba351a 100644 --- a/tests/test_gom.py +++ b/tests/test_gom.py @@ -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