def _GetRequireTokens(self, namespace):
    line_text = 'goog.require(\'' + namespace + '\');\n'
    return testutil.TokenizeSource([line_text])
Utility method for rendering a view's data to JSON response.
dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest._GetRequireTokens--crossover with--dataset/ETHPy150Open mozilla/source/source/base/utils.py/render_json_to_response