Add more docstrings and fix lint errors

This commit is contained in:
Ian Cordasco 2016-01-10 14:47:06 -06:00
parent 5903576732
commit 8c872c4bb9
9 changed files with 13 additions and 0 deletions

View file

@ -1,7 +1,9 @@
"""Unit tests for the Notifier object."""
import pytest
from flake8 import notifier
class _Listener(object):
def __init__(self, error_code):
self.error_code = error_code
@ -13,8 +15,11 @@ class _Listener(object):
class TestNotifier(object):
"""Notifier unit tests."""
@pytest.fixture(autouse=True)
def setup(self):
"""Set up each TestNotifier instance."""
self.notifier = notifier.Notifier()
self.listener_map = {}