summaryrefslogtreecommitdiff
path: root/tests/Kbase_dir
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-09-25 17:19:09 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2017-09-25 18:21:34 +0200
commitfe17f546b5cd5fd8b9df7d53856efd7b207faa0e (patch)
treee10b2849a84875a22e78af43464af4656295249a /tests/Kbase_dir
parenta967d280acc35c5c783ac14dceadb2a79d06e8d9 (diff)
Don't set defaults that will always be overwritten
The constructors previously defaulted all properties. This is dead code for properties that are always set on items from outside during parsing, and obfuscates the code flow and wastes time. Instead, just mention other properties that exist in comments in the constructors. Also add test cases for missing and empty 'choice' help texts. Removing the default 'self._help = None' assignment in Choice.__init__() wasn't caught by the selftests.
Diffstat (limited to 'tests/Kbase_dir')
0 files changed, 0 insertions, 0 deletions