summaryrefslogtreecommitdiff
path: root/kconfigtest.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2012-12-10 09:29:11 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2012-12-10 09:29:38 +0100
commitc886f5925e473eb5c4243679bd6f4458f0c80ab4 (patch)
treebbec122c94ea7d681503908a3991a5d5a5a80798 /kconfigtest.py
parentf0333a3afe7101041cc0603a867fa58b72e3367a (diff)
Clean up object relations selftest a bit.
Diffstat (limited to 'kconfigtest.py')
-rw-r--r--kconfigtest.py6
1 files 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")
#