def test_not_garbled_by_serialization(self):
        result = test_result.TestResult(self.null_test_case.test_method)
        assert_equal(
            result.to_dict(),
            json.loads(json.dumps(result.to_dict()))
        )

        result.start()
        assert_equal(
            result.to_dict(),
            json.loads(json.dumps(result.to_dict()))
        )

        result.end_in_success()
        assert_equal(
            result.to_dict(),
            json.loads(json.dumps(result.to_dict()))
        )
Like :meth:`Flask.before_request` but for a module.  This function
dataset/ETHPy150Open Yelp/Testify/test/test_result_serializable_test.py/TestResultIsSerializableTestCase.test_not_garbled_by_serialization--crossover with--dataset/ETHPy150Open hhstore/flask-annotated/flask-0.5/flask/module.py/Module.before_request