feat: add complete yiyezhqiu productivity suite
This commit is contained in:
commit
e422ca8b2a
155 files changed
+18959
No files matched your search
@@ -0,0 +1,31 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_generate_startup_assets_lists_all_feature_actions() -> None:
|
||||
from dx_productivity.bridge.startup_assets import generate_startup_assets
|
||||
|
||||
assets = generate_startup_assets(Path("C:/portable/DxDesignerTools"))
|
||||
|
||||
assert set(assets.action_scripts) == {
|
||||
"refdes",
|
||||
"property-change",
|
||||
"property-visibility",
|
||||
"inspection",
|
||||
"bom",
|
||||
"compatibility",
|
||||
"guide",
|
||||
}
|
||||
assert assets.action_scripts["refdes"] == "DxToolsOpenRefDes"
|
||||
assert (
|
||||
assets.action_scripts["property-change"]
|
||||
== "DxToolsOpenPropertyChange"
|
||||
)
|
||||
assert assets.action_scripts["bom"] == "DxToolsOpenBom"
|
||||
assert assets.action_scripts["compatibility"] == "DxToolsOpenCompatibility"
|
||||
assert assets.action_scripts["guide"] == "DxToolsOpenGuide"
|
||||
assert all(
|
||||
"D:\\NET_CHECK" not in value for value in assets.action_scripts.values()
|
||||
)
|
||||
assert not any(
|
||||
value.startswith("run ") for value in assets.action_scripts.values()
|
||||
)
|
||||
Reference in new issue
Block a user