Start writing tests for the config finder

This commit is contained in:
Ian Cordasco 2016-01-09 22:34:39 -06:00
parent 30f4ccda0e
commit 8dd160c98e

View file

@ -0,0 +1,11 @@
"""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('.')