| 945 | gotten: List[object] = [] |
| 946 | |
| 947 | class FakeConfig: |
| 948 | if TYPE_CHECKING: |
| 949 | workerinput = None |
| 950 | |
| 951 | def __init__(self): |
| 952 | self.pluginmanager = self |
| 953 | self.option = self |
| 954 | self.stash = Stash() |
| 955 | |
| 956 | def getini(self, name): |
| 957 | return "pytest" |
| 958 | |
| 959 | junitprefix = None |
| 960 | # XXX: shouldn't need tmp_path ? |
| 961 | xmlpath = str(tmp_path.joinpath("junix.xml")) |
| 962 | register = gotten.append |
| 963 | |
| 964 | fake_config = cast(Config, FakeConfig()) |
| 965 | from _pytest import junitxml |
no outgoing calls