4b8bc90d162feb1c6d6d02ef1b7e3a6359840705,tests/components/test_logger.py,TestUpdater,test_logger_test_filters,#TestUpdater#,38

Before Change



    def test_logger_test_filters(self):
        Test resulting filter operation.
        setup_component(MagicMock(), logger.DOMAIN, self.log_config)

        log_filter = logging.root.handlers[-1].filters[0]

After Change



    def test_logger_test_filters(self):
        Test resulting filter operation.
        hass = MagicMock()
        hass.pool.worker_count = 2
        setup_component(hass, logger.DOMAIN, self.log_config)

        log_filter = logging.root.handlers[-1].filters[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 4b8bc90d162feb1c6d6d02ef1b7e3a6359840705
Time: 2016-09-28
Author: paulus@paulusschoutsen.nl
File Name: tests/components/test_logger.py
Class Name: TestUpdater
Method Name: test_logger_test_filters


Project Name: google-research/google-research
Commit Name: 5f15139793bf9f56a682882076754372e44dc48c
Time: 2021-03-22
Author: subhamsahoo@google.com
File Name: smug_saliency/utils_test.py
Class Name: UtilsTest
Method Name: test_brute_force_fast_saliency_evaluate_masks


Project Name: home-assistant/home-assistant
Commit Name: 4b8bc90d162feb1c6d6d02ef1b7e3a6359840705
Time: 2016-09-28
Author: paulus@paulusschoutsen.nl
File Name: tests/components/test_logger.py
Class Name: TestUpdater
Method Name: test_logger_setup


Project Name: google-research/google-research
Commit Name: 5f15139793bf9f56a682882076754372e44dc48c
Time: 2021-03-22
Author: subhamsahoo@google.com
File Name: smug_saliency/utils_test.py
Class Name: UtilsTest
Method Name: test_calculate_saliency_score_valid


Project Name: cornellius-gp/gpytorch
Commit Name: 9945462f22495071ced0f930a08c1054309c09be
Time: 2018-08-23
Author: gpleiss@gmail.com
File Name: docs/source/conf.py
Class Name: Mock
Method Name: __getattr__