5943f757a04d98084808b34042ae59e24f5285fa,homeassistant/test.py,TestRemoteClasses,test_eventbus_fire,#TestRemoteClasses#,553

Before Change


        self.slave.bus.fire("test.event_no_data")

        // Allow the event to take place
        time.sleep(1)

        self.assertEqual(1, len(test_value))

After Change


        self.slave.bus.fire("test.event_no_data")

        // Wait till slave tells master
        self.slave._pool.block_till_done()
        // Wait till master gives updated event
        self.hass._pool.block_till_done()

        self.assertEqual(1, len(test_value))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: home-assistant/home-assistant
Commit Name: 5943f757a04d98084808b34042ae59e24f5285fa
Time: 2014-11-22
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/test.py
Class Name: TestRemoteClasses
Method Name: test_eventbus_fire


Project Name: home-assistant/home-assistant
Commit Name: 5943f757a04d98084808b34042ae59e24f5285fa
Time: 2014-11-22
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/test.py
Class Name: TestRemoteClasses
Method Name: test_statemachine_set


Project Name: home-assistant/home-assistant
Commit Name: 2016da984aec01ae05b11387c87390263c40cbc7
Time: 2015-01-19
Author: paulus@paulusschoutsen.nl
File Name: tests/test_component_configurator.py
Class Name: TestConfigurator
Method Name: test_request_done_works


Project Name: home-assistant/home-assistant
Commit Name: 5943f757a04d98084808b34042ae59e24f5285fa
Time: 2014-11-22
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/test.py
Class Name: TestRemoteClasses
Method Name: test_eventbus_fire