Skip to content

Instantly share code, notes, and snippets.

@harlowja
Created October 8, 2015 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harlowja/5968d5951fe7e210b54c to your computer and use it in GitHub Desktop.
Save harlowja/5968d5951fe7e210b54c to your computer and use it in GitHub Desktop.
>>> from zake import fake_client
>>> c = fake_client.FakeClient()
>>> c.start()
>>> c.create("/b", "e")
'/b'
>>> coordination.get_coordinator("zake://", 'me', storage=c.storage)
<tooz.drivers.zake.ZakeDriver object at 0x2ad851e021d0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment