9e1ecd7124af55e84d113a63d189262faafa5ad0,tests/components/test_history.py,TestComponentHistory,init_recorder,#TestComponentHistory#,38
Before Change
def init_recorder(self):
recorder.setup(self.hass, {})
self.hass.start()
recorder._INSTANCE.block_till_done()
self.init_rec = True
def test_setup(self):
Test setup method of history.
After Change
def init_recorder(self):
recorder.setup(self.hass, {})
self.hass.start()
self.wait_recording_done()
def wait_recording_done(self):
Block till recording is done.
self.hass.pool.block_till_done()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: home-assistant/home-assistant
Commit Name: 9e1ecd7124af55e84d113a63d189262faafa5ad0
Time: 2015-12-27
Author: paulus.schoutsen@mycase.com
File Name: tests/components/test_history.py
Class Name: TestComponentHistory
Method Name: init_recorder
Project Name: home-assistant/home-assistant
Commit Name: 9e1ecd7124af55e84d113a63d189262faafa5ad0
Time: 2015-12-27
Author: paulus.schoutsen@mycase.com
File Name: tests/components/test_history.py
Class Name: TestComponentHistory
Method Name: test_last_5_states
Project Name: home-assistant/home-assistant
Commit Name: 9e1ecd7124af55e84d113a63d189262faafa5ad0
Time: 2015-12-27
Author: paulus.schoutsen@mycase.com
File Name: tests/components/test_history.py
Class Name: TestComponentHistory
Method Name: test_get_states