From c886f5925e473eb5c4243679bd6f4458f0c80ab4 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 10 Dec 2012 09:29:11 +0100 Subject: Clean up object relations selftest a bit. --- kconfigtest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kconfigtest.py b/kconfigtest.py index 7564f98..07c6c3f 100644 --- a/kconfigtest.py +++ b/kconfigtest.py @@ -220,11 +220,11 @@ def run_selftests(): verify(A.get_parent() is None, "A should not have a parent") verify(B.get_parent() is choice_1, "B's parent should be the first choice") verify(E.get_parent() is menu_1, "E's parent should be the first menu") - verify(c["E"].get_parent().get_parent() is None, + verify(E.get_parent().get_parent() is None, "E's grandparent should be None") - verify(c["G"].get_parent() is choice_2, + verify(G.get_parent() is choice_2, "G's parent should be the second choice") - verify(c["G"].get_parent().get_parent() is menu_2, + verify(G.get_parent().get_parent() is menu_2, "G's grandparent should be the second menu") # -- cgit v1.2.3