diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-08-29 15:31:23 +0200 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-09-07 00:28:31 +0200 |
commit | 46ff46444cd31cebf403ff2c539099fa18f7bdd2 (patch) | |
tree | a040efa43f46ec46846034093c3bfa8d67bdbf55 /tests/manager | |
parent | python/knot_resolver: removed unnecessary use of typing_extensions lib (diff) | |
download | knot-resolver-46ff46444cd31cebf403ff2c539099fa18f7bdd2.tar.xz knot-resolver-46ff46444cd31cebf403ff2c539099fa18f7bdd2.zip |
python/knot_resolver: imports formatting
Diffstat (limited to 'tests/manager')
-rw-r--r-- | tests/manager/datamodel/types/test_base_types.py | 2 | ||||
-rw-r--r-- | tests/manager/test_config_store.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/manager/datamodel/types/test_base_types.py b/tests/manager/datamodel/types/test_base_types.py index cf624836..210604ed 100644 --- a/tests/manager/datamodel/types/test_base_types.py +++ b/tests/manager/datamodel/types/test_base_types.py @@ -5,8 +5,8 @@ from typing import List, Optional import pytest from pytest import raises -from knot_resolver.datamodel.types.base_types import IntRangeBase, StringLengthBase from knot_resolver import KresBaseException +from knot_resolver.datamodel.types.base_types import IntRangeBase, StringLengthBase @pytest.mark.parametrize("min,max", [(0, None), (None, 0), (1, 65535), (-65535, -1)]) diff --git a/tests/manager/test_config_store.py b/tests/manager/test_config_store.py index 06bdda6c..5ddc4e07 100644 --- a/tests/manager/test_config_store.py +++ b/tests/manager/test_config_store.py @@ -1,7 +1,7 @@ import pytest -from knot_resolver.manager.config_store import ConfigStore, only_on_real_changes_update from knot_resolver.datamodel.config_schema import KresConfig +from knot_resolver.manager.config_store import ConfigStore, only_on_real_changes_update @pytest.mark.asyncio # type: ignore |