Supplement a unit test case for 'get_controller_extensions'

the test case for api.extensions.ExtensionDescriptor

Change-Id: Iee8f28a72ba756fc3f8ac7a10605ac5a133a76e6
This commit is contained in:
shanyunfan 2023-05-25 14:36:02 +08:00
parent 61aae3d074
commit 5e94c56872

View File

@ -25,3 +25,7 @@ class TestExtensions(unittest.TestCase):
def test_get_resources(self): def test_get_resources(self):
result = self.extension_descriptor.get_resources() result = self.extension_descriptor.get_resources()
self.assertEqual(result, []) self.assertEqual(result, [])
def test_get_controller_extensions(self):
result = self.extension_descriptor.get_controller_extensions()
self.assertEqual(result, [])