eeb309aea1ab125aaa12c9a977564fd40e9bb8f1,tests/components/media_player/test_monoprice.py,TestMonopriceMediaPlayer,setUp,#TestMonopriceMediaPlayer#,147

Before Change


        Set up the test case.
        self.monoprice = MockMonoprice()
        // Note, source dictionary is unsorted!
        self.media_player = MonopriceZone(self.monoprice, {1: "one",
                                                           3: "three",
                                                           2: "two"},
                                          12, "Zone name")

    def test_update(self):

After Change


                            3: {"name": "three"},
                            2: {"name": "two"}},
            }, lambda *args, **kwargs: None, {})
            self.hass.block_till_done()
        self.media_player = self.hass.data[DATA_MONOPRICE][0]
        self.media_player.hass = self.hass
        self.media_player.entity_id = "media_player.zone_1"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: eeb309aea1ab125aaa12c9a977564fd40e9bb8f1
Time: 2017-12-22
Author: etsinko@gmail.com
File Name: tests/components/media_player/test_monoprice.py
Class Name: TestMonopriceMediaPlayer
Method Name: setUp


Project Name: home-assistant/home-assistant
Commit Name: e37fd5b132666f9d57e31623adc9ecf1e00ad069
Time: 2018-05-04
Author: 30130371+cdce8p@users.noreply.github.com
File Name: tests/components/homekit/test_homekit.py
Class Name: TestHomeKit
Method Name: test_setup_auto_start_disabled


Project Name: home-assistant/home-assistant
Commit Name: e37fd5b132666f9d57e31623adc9ecf1e00ad069
Time: 2018-05-04
Author: 30130371+cdce8p@users.noreply.github.com
File Name: tests/components/homekit/test_homekit.py
Class Name: TestHomeKit
Method Name: test_homekit_stop