272539105f949ac28e37adac0474ac28d65256e0,tests/components/test_init.py,TestComponentsCore,test_reload_core_conf,#TestComponentsCore#,92

Before Change


            self.hass.config.config_dir = conf_dir
            conf_yaml = self.hass.config.path(config.YAML_CONFIG_FILE)

            with open(conf_yaml, "a") as fp:
                fp.write(yaml.dump({
                    ha.DOMAIN: {
                        "latitude": 10,
                        "longitude": 20,
                        "customize": {
                            "test.Entity": {
                                "hello": "world"
                            }
                        }
                    }
                }))

            comps.reload_core_config(self.hass)
            self.hass.block_till_done()

        assert 10 == self.hass.config.latitude

After Change


        assert state.attributes == {}

        files = {
            config.YAML_CONFIG_FILE: yaml.dump({
                ha.DOMAIN: {
                    "latitude": 10,
                    "longitude": 20,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: home-assistant/home-assistant
Commit Name: 272539105f949ac28e37adac0474ac28d65256e0
Time: 2016-10-17
Author: rob.capellini@gmail.com
File Name: tests/components/test_init.py
Class Name: TestComponentsCore
Method Name: test_reload_core_conf


Project Name: home-assistant/home-assistant
Commit Name: 272539105f949ac28e37adac0474ac28d65256e0
Time: 2016-10-17
Author: rob.capellini@gmail.com
File Name: tests/components/test_init.py
Class Name: TestComponentsCore
Method Name: test_reload_core_with_wrong_conf


Project Name: quiltdata/quilt
Commit Name: f1255b8bde05c1246484dd03b69a6e8d49056246
Time: 2019-06-24
Author: dima@quiltdata.io
File Name: api/python/tests/test_data_transfer.py
Class Name: DataTransferTest
Method Name: test_multipart_upload