

@patch('twisted.internet.reactor')
def test_runner_bad_proxy(self, fakereactor):
    proxy = 'myproxy'
    self.assertRaises(AssertionError, ApplicationRunner, 'ws://fake:1234/ws', 'dummy realm', proxy=fakereactor)

dataset/ETHPy150Open crossbario/autobahn-python/autobahn/twisted/test/test_application_runner.py TestApplicationRunner.test_runner_bad_proxy/VarMisuse@36/66 `proxy`->`fakereactor`