mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-07 13:36:54 +00:00
11 lines
300 B
Python
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('.')
|