10366:411df92e881f | 10460:3b34efa2857c |
---|---|
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 | 2 |
3 # Copyright (c) 2022 - 2023 Detlev Offenbach <detlev@die-offenbachs.de> | 3 # Copyright (c) 2022 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the test runner script for the 'pytest' framework. | 7 Module implementing the test runner script for the 'pytest' framework. |
8 """ | 8 """ |
171 self.__writer.write( | 171 self.__writer.write( |
172 { | 172 { |
173 "event": "collected", | 173 "event": "collected", |
174 "nodeid": item.nodeid, | 174 "nodeid": item.nodeid, |
175 "name": item.name, | 175 "name": item.name, |
176 "filename": item.location[0], | |
177 "linenumber": item.location[1], | |
176 } | 178 } |
177 ) | 179 ) |
178 | 180 |
179 def pytest_runtest_logstart(self, nodeid, location): # noqa: U100 | 181 def pytest_runtest_logstart(self, nodeid, location): # noqa: U100 |
180 """ | 182 """ |