a8b390091363c5af54880ecbf10e5f07824c2033,tests/components/device_tracker/test_locative.py,,setUpModule,#,29

Before Change


    })

    // Set up device tracker
    bootstrap.setup_component(hass, device_tracker.DOMAIN, {
        device_tracker.DOMAIN: {
            CONF_PLATFORM: "locative"
        }
    })

    hass.start()

After Change


    })

    // Set up device tracker
    with assert_setup_component(1, device_tracker.DOMAIN):
        bootstrap.setup_component(hass, device_tracker.DOMAIN, {
            device_tracker.DOMAIN: {
                CONF_PLATFORM: "locative"
            }
        })

    hass.start()


def tearDownModule():   // pylint: disable=invalid-name
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: a8b390091363c5af54880ecbf10e5f07824c2033
Time: 2016-12-20
Author: kellerza@gmail.com
File Name: tests/components/device_tracker/test_locative.py
Class Name:
Method Name: setUpModule


Project Name: home-assistant/home-assistant
Commit Name: 40d27cde0edb705bfa742a2f784d7a67b1d16e81
Time: 2017-05-09
Author: adam@armills.info
File Name: tests/components/test_sun.py
Class Name: TestSun
Method Name: test_setting_rising


Project Name: home-assistant/home-assistant
Commit Name: 40d27cde0edb705bfa742a2f784d7a67b1d16e81
Time: 2017-05-09
Author: adam@armills.info
File Name: tests/components/test_sun.py
Class Name: TestSun
Method Name: test_state_change