diff options
| author | Anthony Sottile <asottile@umich.edu> | 2020-07-20 15:54:12 +0000 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2020-07-20 15:54:12 +0000 |
| commit | 029fa1d797e3b5cc98f52725323fcafbf25a256d (patch) | |
| tree | cdfb0318f80409ecdf2b601cab65f3ca843d3477 | |
| parent | a7be77f761a4c29121d6bb6f61c11902281f9105 (diff) | |
| parent | 91b09d5b376cfb8afd4b6af5b407f57aa42011c7 (diff) | |
| download | flake8-029fa1d797e3b5cc98f52725323fcafbf25a256d.tar.gz | |
Merge branch 'pytest6' into 'master'
Tests: Add a value to mocked entry_points, so pytest 6+ can log it
See merge request pycqa/flake8!443
| -rw-r--r-- | tests/integration/test_checker.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/test_checker.py b/tests/integration/test_checker.py index eaab5c3..0acdb6e 100644 --- a/tests/integration/test_checker.py +++ b/tests/integration/test_checker.py @@ -100,6 +100,7 @@ def mock_file_checker_with_plugin(plugin_target): entry_point = mock.Mock(spec=['load']) entry_point.name = plugin_target.name entry_point.load.return_value = plugin_target + entry_point.value = 'mocked:value' # Load the checker plugins using the entry point mock with mock.patch.object( |
