Here are the examples of the python api twisted.web.client.noop taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
def test_noop(self):
"""How do you test a noop?"""
def noop(client):
d = client.noop()
# this delay is just so the server has time to shut down
d.addCallbacks(
lambda x: reactor.callLater(0.1, client.test_done, x),
client.test_fail)
return self.callback_test(noop)