From a362f5cce6ec5e39f7e99c5b7f55dcd1e2ef0768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Thu, 17 Oct 2024 14:01:14 +0200 Subject: [PATCH] multihost: remove MultihostUtility.used This attribute was replaced by private _mh_utility_used and there should be no reason to make this attribute public. Once any method or @property is accessed it is already set to True so it does not have any information for the outside caller. --- pytest_mh/_private/multihost.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pytest_mh/_private/multihost.py b/pytest_mh/_private/multihost.py index 8393beb..58653ce 100644 --- a/pytest_mh/_private/multihost.py +++ b/pytest_mh/_private/multihost.py @@ -917,9 +917,6 @@ def __init__(self, host: HostType) -> None: self.logger: MultihostLogger = self.host.logger """Multihost logger.""" - self.used: bool = False - """Indicate if this utility instance was already used or not within current test.""" - self.artifacts: set[str] = set() """ List of artifacts that will be automatically collected at specific