def TestEndToEnd(self):
    self.c.WriteLine("def Blah():")
    self.c.Indent()
    self.c.WriteLine("for i in range(3):")
    self.c.Indent()
    self.c.WriteLine("print i")
    self.c.Dedent()
    self.c.WriteLine("return 1")
    self.c.Dedent()
    assert(self.c.GetCode() == '\n'.join([
      "def Blah():",
      "  for i in range(3):",
      "    print i",
      "  return 1\n"]))
Returns ``True`` if this model is an ancestor of the given node,
dataset/ETHPy150Open spranesh/Redhawk/redhawk/test/test_utils_code_generator_backend.py/TestCodeGeneratorBackend.TestEndToEnd--crossover with--dataset/ETHPy150Open django-mptt/django-mptt/mptt/models.py/MPTTModel.is_ancestor_of