summaryrefslogtreecommitdiff
path: root/testsuite.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-06-22 05:29:59 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2018-06-22 06:02:47 +0200
commiteb6c21a9b33a2d6e2bed9882d4f930d0cab2f03b (patch)
tree2e03f85c7d25ed51d4db11a36f8d88362079bd5a /testsuite.py
parentf6eb4f435bc594aa58b8f8c066a9e2243c5c8330 (diff)
Turn MenuNode/Symbol/Choice.referenced() into a @property
Having it as a function is inconsistent, since all other read-only fields use properties. Oversight. Major version will be bumped to 7, though the function version wasn't in for long.
Diffstat (limited to 'testsuite.py')
-rw-r--r--testsuite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite.py b/testsuite.py
index 8f93c81..64b5bd9 100644
--- a/testsuite.py
+++ b/testsuite.py
@@ -1009,12 +1009,12 @@ g
)
- print("Testing MenuNode/Symbol/Choice.referenced()")
+ print("Testing MenuNode/Symbol/Choice.referenced")
c = Kconfig("Kconfiglib/tests/Kreferenced", warn=False)
def verify_deps(item, *dep_names):
- verify_equal(tuple(sorted(item.name for item in item.referenced())),
+ verify_equal(tuple(sorted(item.name for item in item.referenced)),
dep_names)
verify_deps(c.top_node, "y")