test(skills): verify source identity across public API and browser
This commit is contained in:
1 parent
70eca8343b
commit
112ea9d174
5 files changed
+132
-7
No files matched your search
@@ -524,6 +524,10 @@ async def test_install_skillhub_skill_checks_fingerprint_and_extracts_safely(
|
||||
"version": "1.1.8",
|
||||
}
|
||||
assert (tmp_path / "skills" / "ima-skills" / "SKILL.md").read_bytes() == skill_content
|
||||
assert json.loads((tmp_path / "skills" / "ima-skills" / ".nanobot-origin.json").read_text()) == {
|
||||
"provider": "skillhub", "source": "", "skill_id": "ima-skills",
|
||||
}
|
||||
assert (await install_marketplace_skill("", "ima-skills", tmp_path, provider="skillhub"))["already_installed"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in new issue
Block a user