def TestIndent(self):
    self.c.WriteLine("def Blah():")
    self.c.Indent()
    self.c.WriteLine("a = 2")
    assert(self.c.GetCode() == "def Blah():\n  a = 2\n")
Returns a JSON response, transforming 'context' to make the payload.
dataset/ETHPy150Open spranesh/Redhawk/redhawk/test/test_utils_code_generator_backend.py/TestCodeGeneratorBackend.TestIndent--crossover with--dataset/ETHPy150Open opps/opps/opps/views/generic/json_views.py/JSONResponseMixin.render_to_json_response