mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-15 22:10:12 +00:00
* Use deepmerge for options * fix issue * Update supervisor/addons/addon.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Add tests * Fix merge schema * Make save for overwrites * drop community * more cleanup * Fix tests * Fix lists * revert strategy * protect overwritten lists * Update tests/api/test_store.py Co-authored-by: Joakim Sørensen <joasoe@gmail.com> Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
18 lines
449 B
Python
18 lines
449 B
Python
"""Test local and core store."""
|
|
|
|
from supervisor.coresys import CoreSys
|
|
|
|
|
|
def test_local_store(coresys: CoreSys, repository) -> None:
|
|
"""Test loading from local store."""
|
|
assert coresys.store.get("local")
|
|
|
|
assert "local_ssh" in coresys.addons.store
|
|
|
|
|
|
def test_core_store(coresys: CoreSys, repository) -> None:
|
|
"""Test loading from core store."""
|
|
assert coresys.store.get("core")
|
|
|
|
assert "core_samba" in coresys.addons.store
|