diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-12 11:43:05 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-12 11:43:05 +0100 |
| commit | 7b0c82e7709d7208df1dae74677ad3783c2d9fbb (patch) | |
| tree | 951e75f2bc23c0a0ba6cfebd36605eda84d81313 /kconfigtest.py | |
| parent | 9932073771d52d513b5e67fde097acc5cf906796 (diff) | |
Break encapsulation a bit to clarify code.
Perhaps the public API should be properties instead of functions for
things like .name that are very unlikely to not be static as well. Would
take more work to document though.
Diffstat (limited to 'kconfigtest.py')
| -rw-r--r-- | kconfigtest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kconfigtest.py b/kconfigtest.py index 279a4be..d692787 100644 --- a/kconfigtest.py +++ b/kconfigtest.py @@ -222,6 +222,7 @@ def run_selftests(): c = kconfiglib.Config("Kconfiglib/tests/Ktext") + verify_equals(c["S"].get_name(), "S") verify_equals(c["NO_HELP"].get_help(), None) verify_equals(c["S"].get_help(), "help for\nS\n") verify_equals(c.get_choices()[0].get_help(), "help for\nC\n") |
