diff --git a/requirements_tests.txt b/requirements_tests.txt index 28c9bb04a..f70b1a716 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -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 diff --git a/tests/addons/test_options.py b/tests/addons/test_options.py index 46a6fc706..99eabb47c 100644 --- a/tests/addons/test_options.py +++ b/tests/addons/test_options.py @@ -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