summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/rook/tests/fixtures.py
blob: 65a5197430c421908c1be808ac77cc1f5880c7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
from rook.module import RookOrchestrator
from orchestrator import raise_if_exception, OrchResult

try:
    from typing import Any
except ImportError:
    pass


def wait(m: RookOrchestrator, c: OrchResult) -> Any:
    return raise_if_exception(c)