Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The example should do something that would generate an exception.

I need to figure out how to use the twisted unit test framework
instead of continually reinventing it.
  • Loading branch information...
commit 4a94e8cb68622775bdca12bc945520725a808643 1 parent 2f23384
@dustin authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  example/
3  example/
@@ -26,6 +26,9 @@ def worker(e):
print_cb("Released lock: test")).addErrback(
print_cb("Failed to release lock")))
+ l.append(e.unlock("not_locked").addCallback(
+ print_cb("Released lock: not_locked")).addErrback(
+ print_cb("Failed to release lock not_locked")))
return defer.DeferredList(l)
d=protocol.ClientCreator(reactor, elock.ELock).connectTCP(sys.argv[1], 11400)
Please sign in to comment.
Something went wrong with that request. Please try again.