flake8/tests/unit/test_config_file_finder.py
2016-01-09 22:34:39 -06:00

11 lines
300 B
Python

"""Tests for the ConfigFileFinder."""
import os
from flake8.options import config
def test_uses_default_args():
"""Show that we default the args value."""
finder = config.ConfigFileFinder('flake8', None, [])
assert finder.args == ['.']
assert finder.parent == os.path.abspath('.')