def test_backward_propagation(self): c1 = Context() c2 = Context(data_provider=c1) c3 = Context(data_provider=c2) c4 = Context(data_provider=c3) c4.msg = 'hello' c4.get_data_points() self.assertEqual(c2.get('msg'), None) self.assertEqual(c3.get('msg'), None)