juju/juju — pull request #23 by axw (2014-06-05 03:29:22+00:00)
Title: juju/testing: close clients before API server

There's a bug in JujuConnSuite where the teardown
of clients occurs after the server is destroyed.
This sometimes causes the client's Close method
to error, because it cannot write the websocket
0xFF frame.

Fixes https://bugs.launchpad.net/juju-core/+bug/1293697