mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 06:44:18 +00:00
Add more docstrings and fix lint errors
This commit is contained in:
parent
5903576732
commit
8c872c4bb9
9 changed files with 13 additions and 0 deletions
|
|
@ -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 = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue