Skip to content

Commit

Permalink
Improved coverage for __init__ module.
Browse files Browse the repository at this point in the history
  • Loading branch information
puentesarrin committed Feb 8, 2014
1 parent faa8c4b commit 18d833c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[run]
source = bonzo

[report]
exclude_lines =
pragma: no cover
2 changes: 1 addition & 1 deletion bonzo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""Bonzo is a minimalistic SMTP Proxy built on top of Tornado."""
import sys

if sys.version_info[0] >= 3:
if sys.version_info[0] >= 3: # pragma: no cover
basestring_type = str
else:
basestring_type = basestring
Expand Down
2 changes: 2 additions & 0 deletions docs/releases/next.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Next Release

- Added Sphinx docs and ReadTheDocs.
- :mod:`tornado.log` is used to log records from :mod:`bonzo.server`.
- Improved test suite to cover the :mod:`bonzo.__init__` and
:mod:`bonzo.testing` modules.

New modules
~~~~~~~~~~~
Expand Down

0 comments on commit 18d833c

Please sign in to comment.