def test_update2_with_lists(self):
        org = Data()
        org.a = [1, 2, {'a': 'superman'}]
        someother = Data()
        someother.b = [{'b': 123}]
        org |= someother

        correct = {'a': [1, 2, {'a': 'superman'}], 'b': [{'b': 123}]}

        org |= someother
        self.assertEqual(org, correct)
        self.assertIsInstance(org.b[0], Mapping)
 def test_set_one_level_property(self):
     prop = Data()
     prop.a = TEST_VAL
     self.assertEqual(prop, {'a': TEST_VAL})