Lines Matching refs:expected
27 …def merge_compare(self, base: dict[str, Any], to_add: dict[str, Any] | None, expected: dict[str, A…
30 self.assertEqual(actual, expected, f'base={base}, to_add={to_add}')
35 expected = { 'foo' : 1 }
36 self.merge_compare(base, to_add, expected)
41 expected = { 'foo' : 1, 'bar' : 2 }
42 self.merge_compare(base, to_add, expected)
47 expected = { 'foo' : 2 }
48 self.merge_compare(base, to_add, expected)
53 expected = { 'foo' : [1, 2, 3, 4] }
54 self.merge_compare(base, to_add, expected)
59 expected = { 'foo' : { 'bar' : 1, 'baz' : 2 } }
60 self.merge_compare(base, to_add, expected)
65 expected = { 'foo' : { 'bar' : 2 } }
66 self.merge_compare(base, to_add, expected)