diff options
author | Daniel Latypov <dlatypov@google.com> | 2022-05-16 12:47:28 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-07-07 17:45:36 -0600 |
commit | 76f0d6f581693fbfd1be82aadc28fb52e33000fd (patch) | |
tree | 7ed8fb7aaadabd93c81688e8360617cd953bf57f /tools/testing/kunit/kunit_tool_test.py | |
parent | d2fbdde838f270377de4fc20e919aac3941ea55f (diff) | |
download | linux-76f0d6f581693fbfd1be82aadc28fb52e33000fd.tar.gz linux-76f0d6f581693fbfd1be82aadc28fb52e33000fd.tar.bz2 linux-76f0d6f581693fbfd1be82aadc28fb52e33000fd.zip |
kunit: tool: drop unused load_config argument
It's always set to true except in one test case.
And in that test case it can safely be set to true anyways.
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/kunit_tool_test.py')
-rwxr-xr-x | tools/testing/kunit/kunit_tool_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/kunit/kunit_tool_test.py b/tools/testing/kunit/kunit_tool_test.py index 25a2eb3bf114..b9158017ece6 100755 --- a/tools/testing/kunit/kunit_tool_test.py +++ b/tools/testing/kunit/kunit_tool_test.py @@ -393,7 +393,7 @@ class LinuxSourceTreeTest(unittest.TestCase): return subprocess.Popen(['echo "hi\nbye"'], shell=True, text=True, stdout=subprocess.PIPE) with tempfile.TemporaryDirectory('') as build_dir: - tree = kunit_kernel.LinuxSourceTree(build_dir, load_config=False) + tree = kunit_kernel.LinuxSourceTree(build_dir) mock.patch.object(tree._ops, 'start', side_effect=fake_start).start() with self.assertRaises(ValueError): |