Skip to content

Commit

Permalink
Merge pull request #253 from henricm/asyncio
Browse files Browse the repository at this point in the history
fix: handle asyncio correctly in tests
  • Loading branch information
argoyle committed Dec 6, 2022
2 parents 7d4f107 + a3e2cf8 commit fd93bc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements.test.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Strictly for tests
pytest-homeassistant-custom-component==0.10.2
janus==1.0.0
# From our manifest.json for our custom component
aiohttp_cors==0.7.0
paho-mqtt==1.6.1
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ show_missing = true
testpaths = tests
norecursedirs = .git
addopts =
--strict
--strict-markers
--cov=custom_components
asyncio_mode = auto

[flake8]
# https://github.com/ambv/black#line-length
Expand Down

0 comments on commit fd93bc4

Please sign in to comment.