kunit: tool: Fix a python tuple typing error
authorDavid Gow <davidgow@google.com>
Tue, 23 Feb 2021 05:49:30 +0000 (21:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Apr 2021 11:36:08 +0000 (13:36 +0200)
commit4ca265610cc6d1eee7d4aa8690a4ae6072bd5825
treeb1c2f3cc676dcfb8bef9f243163b3a6fb2667ee2
parentf0ed115feccc6073abcd982b2e6e6d048d2dbfd8
kunit: tool: Fix a python tuple typing error

[ Upstream commit 7421b1a4d10c633ca5f14c8236d3e2c1de07e52b ]

The first argument to namedtuple() should match the name of the type,
which wasn't the case for KconfigEntryBase.

Fixing this is enough to make mypy show no python typing errors again.

Fixes 97752c39bd ("kunit: kunit_tool: Allow .kunitconfig to disable config items")
Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/kunit/kunit_config.py