From 54edfa53bcd7c504c14c79da87270a4fce5eaeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 29 Nov 2021 22:56:38 +0100 Subject: [PATCH] Bump pylint from 2.11.1 to 2.12.1 (#3330) --- requirements_tests.txt | 2 +- tests/addons/test_options.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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