Skip to content

Commit

Permalink
multihost: remove MultihostUtility.used
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pbrezina committed Oct 24, 2024
1 parent 7ddc20c commit a362f5c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pytest_mh/_private/multihost.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a362f5c

Please sign in to comment.