def test_compare_nested_matches(self):

        old = {
            'id': ('a', 'b', 'c'),
            'file': 'thing.js',
            'context': ('x', 'y', 'z'),
            'thing': 'stuff',
            'matched': {'something': 'else'},
        }
        old_without_matched = old.copy()
        del old_without_matched['matched']

        changes = {
            'thing': 'other_thing',
            'foo': 'bar',
        }

        expected_result = {
            'id': ('a', 'b', 'c'),
            'file': 'thing.js',
            'context': ('x', 'y', 'z'),
            'thing': 'other_thing',
            'foo': 'bar',
            'matched': old_without_matched,
        }

        results = self.compare(old, changes, expected_changes=None)
        assert results['messages'] == [expected_result]
Add a pipe listener to the execution of this task. The
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_utils.py/TestValidationComparator.test_compare_nested_matches--crossover with--dataset/ETHPy150Open pudo/scrapekit/scrapekit/tasks.py/Task.pipe