def run(self):
        if self.called:
            raise RuntimeError("Already called")
        self.called = True
A fake run method, checking that it's been called one and only time.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_twistd.py/DummyReactor.run