Skip to content

Commit

Permalink
topotato: fix mypy _ifix_name
Browse files Browse the repository at this point in the history
Forgot to add annotations for this when fixing python <3.10

Signed-off-by: David Lamparter <[email protected]>
  • Loading branch information
eqvinox committed Dec 13, 2022
1 parent ab3115a commit 8d04ad4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions topotato/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ class TopotatoItem(nodes.Item, ClassHooks):
fixturenames: Any
funcargs: Dict[str, Any]

_ifix_name: str
"""Name of the network instance fixture"""

nodeid_children_sep: Optional[str] = None

_obj: "TestBase"
Expand Down Expand Up @@ -702,6 +705,9 @@ class TopotatoClass(_pytest.python.Class):
The actual instance of our test class.
"""

_ifix_name: str
"""Name of the network instance fixture"""

skipall: Optional[Exception]

starting_ts: float
Expand Down

0 comments on commit 8d04ad4

Please sign in to comment.