Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Apr 21, 2018

In addition to #83, asyncio.Event() needs to be called with the loop parameter. Otherwise it throws an error when not executed in the main thread.

@cdce8p
Copy link
Contributor Author

cdce8p commented Apr 21, 2018

It even fixed one of the two failing tests. Unintentionally 😅

@codecov-io
Copy link

codecov-io commented Apr 22, 2018

Codecov Report

Merging #93 into dev will increase coverage by 1.38%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev      #93      +/-   ##
==========================================
+ Coverage   48.73%   50.11%   +1.38%     
==========================================
  Files          13       13              
  Lines        1303     1303              
  Branches      130      130              
==========================================
+ Hits          635      653      +18     
+ Misses        656      638      -18     
  Partials       12       12
Impacted Files Coverage Δ
pyhap/accessory_driver.py 56.48% <100%> (+6.01%) ⬆️
pyhap/accessory.py 56.22% <0%> (+1.38%) ⬆️
pyhap/util.py 70.45% <0%> (+4.54%) ⬆️

@cdce8p
Copy link
Contributor Author

cdce8p commented Apr 22, 2018

I fixed the last failing test as well. It never reached driver.stop(), since it never exited driver.start().

@cdce8p
Copy link
Contributor Author

cdce8p commented Apr 24, 2018

Can this PR be merged (after #96 is merged)? It would make developing for me a bit easier.

@ikalchev
Copy link
Owner

Yes sorry give me a few hours and I will merge both

@ikalchev ikalchev merged commit 5214d45 into ikalchev:dev Apr 25, 2018
@cdce8p cdce8p deleted the event-loop-fix branch April 25, 2018 06:35
@cdce8p
Copy link
Contributor Author

cdce8p commented Apr 25, 2018

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants