From 5e94c56872d58ff352b2999f029a23c908406f06 Mon Sep 17 00:00:00 2001 From: shanyunfan Date: Thu, 25 May 2023 14:36:02 +0800 Subject: [PATCH] Supplement a unit test case for 'get_controller_extensions' the test case for api.extensions.ExtensionDescriptor Change-Id: Iee8f28a72ba756fc3f8ac7a10605ac5a133a76e6 --- venus/tests/unit/api/test_extensions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/venus/tests/unit/api/test_extensions.py b/venus/tests/unit/api/test_extensions.py index 85e6558..2e8e24e 100644 --- a/venus/tests/unit/api/test_extensions.py +++ b/venus/tests/unit/api/test_extensions.py @@ -25,3 +25,7 @@ class TestExtensions(unittest.TestCase): def test_get_resources(self): result = self.extension_descriptor.get_resources() self.assertEqual(result, []) + + def test_get_controller_extensions(self): + result = self.extension_descriptor.get_controller_extensions() + self.assertEqual(result, [])