Files
xc-llm-ascend/tests/ut/base.py
wangxiyuan 5968dff4e0 [Build] Add build info (#1386)
Add static build_info py file to show soc and sleep mode info. It helps
to make the code clean and the error info will be more friendly for
users

This PR also added the unit test for vllm_ascend/utils.py

This PR also added the base test class for all ut in tests/ut/base.py

Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
2025-06-27 09:14:43 +08:00

13 lines
224 B
Python

import unittest
from vllm_ascend.utils import adapt_patch
class TestBase(unittest.TestCase):
def setUp(self):
# adapt patch by default.
adapt_patch(True)
adapt_patch()
super().setUp()