WoLpH/python-statsd — pull request #16 by alfredodeza (2012-09-12 19:22:29+00:00)
Title: Create flag to disable the ``Connection`` object

The following pull request addresses issue #15, enabling a user to turn off the actual UDP send method by passing a flag to the `Connection` object.

I've tried to follow the conventions in the existing file, but had to change the tests in the `tests` directory. Those (I think) where not really executing at all, neither of the test runners I tried (including nose) where able to pick them up.

So I went ahead and changed them to be discoverable by nose (py.test works as well), and added tests for the Connection object (it didn't had any).

Some documentation was added to both the docstring and the README.