summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2019-10-12 22:50:46 +0100
committerEric N. Vander Weele <ericvw@gmail.com>2019-10-13 13:37:19 -0400
commit66f832d291faa6cf363546be19a625eda060475c (patch)
tree41e7e637bd944f3dc66130a866bb2bf1a038f63b /tests
parent3f1bdc74a9193624f0420bc7213a11679b147361 (diff)
downloadflake8-66f832d291faa6cf363546be19a625eda060475c.tar.gz
application: Remove forwarding unused preliminary arguments
The `ConfigFileFinder` doesn't utilize the preliminary arguments (i.e., the file names) anymore for computing the starting path for the configuration file search.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_legacy_api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_legacy_api.py b/tests/unit/test_legacy_api.py
index 369fb2f..49daf79 100644
--- a/tests/unit/test_legacy_api.py
+++ b/tests/unit/test_legacy_api.py
@@ -28,7 +28,7 @@ def test_get_style_guide():
application.assert_called_once_with()
mockedapp.parse_preliminary_options_and_args.assert_called_once_with([])
- mockedapp.make_config_finder.assert_called_once_with([], [])
+ mockedapp.make_config_finder.assert_called_once_with([])
mockedapp.find_plugins.assert_called_once_with(None, False)
mockedapp.register_plugin_options.assert_called_once_with()
mockedapp.parse_configuration_and_cli.assert_called_once_with([])