Add some typing to tests

This commit is contained in:
Ayaz Salikhov
2022-01-18 19:13:17 +03:00
parent ee77b7831e
commit 2a1316c9ac
24 changed files with 211 additions and 141 deletions

View File

@@ -4,6 +4,8 @@
import logging
import pytest
from conftest import TrackedContainer
LOGGER = logging.getLogger(__name__)
@@ -17,7 +19,9 @@ LOGGER = logging.getLogger(__name__)
("pip", "--version"),
],
)
def test_package_manager(container, package_manager, version_arg):
def test_package_manager(
container: TrackedContainer, package_manager: str, version_arg: tuple[str, ...]
) -> None:
"""Test the notebook start-notebook script"""
LOGGER.info(
f"Test that the package manager {package_manager} is working properly ..."