mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Use source instead of URL for repos (#3670)
This commit is contained in:
@@ -46,7 +46,7 @@ async def test_api_supervisor_options_remove_repository(
|
||||
api_client: TestClient, coresys: CoreSys, repository: Repository
|
||||
):
|
||||
"""Test remove a repository via POST /supervisor/options REST API."""
|
||||
assert repository.url in coresys.store.repository_urls
|
||||
assert repository.source in coresys.store.repository_urls
|
||||
assert repository.slug in coresys.store.repositories
|
||||
|
||||
response = await api_client.post(
|
||||
@@ -54,7 +54,7 @@ async def test_api_supervisor_options_remove_repository(
|
||||
)
|
||||
|
||||
assert response.status == 200
|
||||
assert repository.url not in coresys.store.repository_urls
|
||||
assert repository.source not in coresys.store.repository_urls
|
||||
assert repository.slug not in coresys.store.repositories
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user