1+ # Copyright (c) 2023 https://reportportal.io .
2+ # Licensed under the Apache License, Version 2.0 (the "License");
3+ # you may not use this file except in compliance with the License.
4+ # You may obtain a copy of the License at
5+ #
6+ # https://www.apache.org/licenses/LICENSE-2.0
7+ #
8+ # Unless required by applicable law or agreed to in writing, software
9+ # distributed under the License is distributed on an "AS IS" BASIS,
10+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+ # See the License for the specific language governing permissions and
12+ # limitations under the License
13+
114from logging import Logger
2- from typing import Text
15+ from typing import Text , Any
316
417import pytest
518
@@ -8,7 +21,6 @@ from _pytest.config import Config
821from _pytest .config .argparsing import Parser
922from _pytest .main import Session
1023from reportportal_client import RPClient
11- from xdist .workermanage import WorkerController
1224
1325log : Logger
1426MANDATORY_PARAMETER_MISSED_PATTERN : Text
@@ -17,7 +29,7 @@ FAILED_LAUNCH_WAIT: Text
1729def check_connection (agent_config : AgentConfig ) -> bool : ...
1830def is_control (config : Config ) -> bool : ...
1931def wait_launch (rp_client : RPClient ) -> bool : ...
20- def pytest_configure_node (node : WorkerController ) -> None : ...
32+ def pytest_configure_node (node : Any ) -> None : ...
2133def pytest_sessionstart (session : Session ) -> None : ...
2234def pytest_collection_finish (session : Session ) -> None : ...
2335def pytest_sessionfinish (session : Session ) -> None : ...
0 commit comments