7b40a641eceef014daee5a4a631dade08566c913,tests/components/thermostat/test_heat_control.py,TestSetupThermostatHeatControl,test_setup_missing_conf,#TestSetupThermostatHeatControl#,41

Before Change


            "name": "test",
            "target_sensor": ENT_SENSOR
        }
        self.assertFalse(_setup_component(self.hass, "thermostat", {
            "thermostat": config}))

    def test_valid_conf(self):
        Test set up heat_control with valid config values.
        self.assertTrue(_setup_component(self.hass, "thermostat",

After Change


            "name": "test",
            "target_sensor": ENT_SENSOR
        }
        with assert_setup_component(0):
            setup_component(self.hass, "thermostat", {
                "thermostat": config})

    def test_valid_conf(self):
        Test set up heat_control with valid config values.
        self.assertTrue(setup_component(self.hass, "thermostat",
                        {"thermostat": {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/components/thermostat/test_heat_control.py
Class Name: TestSetupThermostatHeatControl
Method Name: test_setup_missing_conf


Project Name: home-assistant/home-assistant
Commit Name: 2a362fd1ff3b3b614e47bd22d086c6cf4a67f762
Time: 2017-01-17
Author: pascal.vizeli@syshack.ch
File Name: tests/components/notify/test_demo.py
Class Name: TestNotifyDemo
Method Name: test_no_prepare_setup_platform


Project Name: home-assistant/home-assistant
Commit Name: c70722dbaef64cb00dbf6793d84b5530856a35cb
Time: 2016-10-20
Author: kellerza@gmail.com
File Name: tests/components/test_updater.py
Class Name: TestUpdater
Method Name: test_new_version_shows_entity_on_start


Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/components/device_tracker/test_init.py
Class Name: TestComponentsDeviceTracker
Method Name: test_config_failure


Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/components/notify/test_group.py
Class Name: TestNotifyGroup
Method Name: setUp


Project Name: home-assistant/home-assistant
Commit Name: 7b40a641eceef014daee5a4a631dade08566c913
Time: 2016-10-08
Author: kellerza@gmail.com
File Name: tests/components/climate/test_generic_thermostat.py
Class Name: TestSetupClimateGenericThermostat
Method Name: test_setup_missing_conf