1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-25 05:26:47 +00:00

Limit worker pool to 10 threads (#3560)

* Limit worker pool to 10 threads

* Comment evdev in requirements

* Allow skipping RFXtrx tests locally

* Fix worker pool size tests

* lol whut
This commit is contained in:
Paulus Schoutsen
2016-09-28 00:05:38 -07:00
committed by GitHub
parent a084232cf5
commit 4b8bc90d16
15 changed files with 41 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ class TestInfluxDB(unittest.TestCase):
def setUp(self):
"""Setup things to be run when tests are started."""
self.hass = mock.MagicMock()
self.hass.pool.worker_count = 2
self.handler_method = None
def test_setup_config_full(self, mock_client):