def test_profile(self):
        config = twistd.ServerOptions()
        config["profile"] = self.mktemp()
        config["profiler"] = "profile"
        profiler = app.AppProfiler(config)
        reactor = DummyReactor()

        profiler.run(reactor)

        self.assertTrue(reactor.called)
        with open(config["profile"]) as f:
            data = f.read()
        self.assertIn("DummyReactor.run", data)
        self.assertIn("function calls", data)
L{calcHA1} accepts the C{'md5-sess'} algorithm and returns an MD5 hash
dataset/ETHPy150Open twisted/twisted/twisted/test/test_twistd.py/AppProfilingTests.test_profile--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_digestauth.py/DigestAuthTests.test_MD5SessionHashA1