def check_output_json(self, want, got, optionsflags):
        want, got = strip_quotes(want, got)
        try:
            want_json = json.loads(want)
            got_json = json.loads(got)
        except Exception:
            return False
        return want_json == got_json
Tries to compare want and got as if they were JSON-encoded data
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/OutputChecker.check_output_json