Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed May 23, 2024
1 parent 3923a98 commit b2d44dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/repositories/test_get_documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ async def test_validate_repository(
setattr(repository.data, key, value)

hacs.session = await client_session_proxy(hacs.hass)
docs = await repository.get_documentation(filename="README.md")
docs = await repository.get_documentation(filename="README.md", version=None)

if result:
assert result in docs
else:
assert result is None
assert docs is None

0 comments on commit b2d44dc

Please sign in to comment.