Bump pylint from 2.11.1 to 2.12.1 (#3330)

This commit is contained in:
Joakim Sørensen 2021-11-29 22:56:38 +01:00 committed by GitHub
parent 571c9a05c6
commit 54edfa53bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@ flake8-docstrings==1.6.0
flake8==4.0.1
pre-commit==2.15.0
pydocstyle==6.1.1
pylint==2.11.1
pylint==2.12.1
pytest-aiohttp==0.3.0
pytest-asyncio==0.12.0 # NB!: Versions over 0.12.0 breaks pytest-aiohttp (https://github.com/aio-libs/pytest-aiohttp/issues/16)
pytest-cov==3.0.0

View File

@ -437,7 +437,8 @@ def test_log_entry(coresys, caplog):
options = AddonOptions(coresys, {}, MOCK_ADDON_NAME, MOCK_ADDON_SLUG)(
{"test": "str"}
)
assert options == {}
assert isinstance(options, dict)
assert not options
assert (
"Option 'test' does not exist in the schema for Mock Add-on (mock_addon)"
in caplog.text