fix: propagate exit code (#108)

* fix(pytest): propagate exit code

* feat: derive exit code for unittest
This commit is contained in:
Salomon Popp
2026-08-18 16:39:57 +03:00
committed by Itai Bohadana
parent 7d7cacb91a
commit b720009f3e
6 changed files with 21 additions and 20 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import abc
from enum import Enum
from typing import TYPE_CHECKING, Callable, Dict, List, Optional
from typing import TYPE_CHECKING, Callable, Dict, List, Optional, Tuple
class NeotestResultStatus(str, Enum):
@@ -43,6 +43,6 @@ class NeotestAdapter(abc.ABC):
}
@abc.abstractmethod
def run(self, args: List[str], stream: Callable):
def run(self, args: List[str], stream: Callable) -> Tuple[Dict, int]:
del args, stream
raise NotImplementedError