修正跨平台部署审查用例
This commit is contained in:
1 parent
7e9c0aee5f
commit
18d84b5157
3 files changed
+19
-6
No files matched your search
@@ -1,6 +1,7 @@
|
||||
"""验证前端审查依赖的只读挂载范围,不启动本机应用。"""
|
||||
|
||||
import importlib.util
|
||||
import os
|
||||
from pathlib import Path
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
@@ -12,6 +13,7 @@ review = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(review)
|
||||
|
||||
|
||||
@unittest.skipUnless(os.name == 'posix', '前端隔离审查脚本仅支持 Linux/Unix')
|
||||
class DependencyBindingsTest(unittest.TestCase):
|
||||
root = Path('/var/tmp/smail-review-current')
|
||||
|
||||
|
||||
Reference in new issue
Block a user