forked from TrueCloudLab/frostfs-testlib
[#5] Remove testlib config file support
In order to make library as flexible as possible we will try to use configuration methods similar to function `logging.dictConfig` from the standard library. So, we won't support configuration file `.neofs-testlib.yaml`, but will allow users to call `configure` method that will load plugins and initialize library components. Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
parent
c5ff64b3fd
commit
834ddede36
11 changed files with 248 additions and 135 deletions
|
@ -3,8 +3,8 @@ from contextlib import AbstractContextManager
|
|||
from typing import Any
|
||||
|
||||
|
||||
class Reporter(ABC):
|
||||
"""Interface that supports storage of test artifacts in some reporting tool."""
|
||||
class ReporterHandler(ABC):
|
||||
"""Interface of handler that stores test artifacts in some reporting tool."""
|
||||
|
||||
@abstractmethod
|
||||
def step(self, name: str) -> AbstractContextManager:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue