We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032ca47 commit 3f28cbbCopy full SHA for 3f28cbb
tavern/_core/pytest/item.py
@@ -17,6 +17,7 @@
17
from tavern._core.report import attach_text
18
from tavern._core.run import run_test
19
from tavern._core.schema.files import verify_tests
20
+from tavern._core.stage_lines import start_mark
21
22
from .config import TestConfig
23
from .util import load_global_cfg
@@ -83,7 +84,7 @@ def initialise_fixture_attrs(self) -> None:
83
84
def location(self):
85
"""get location in file"""
86
location = super().location
- location = (location[0], self.spec.start_mark.line, location[2])
87
+ location = (location[0], start_mark(self.spec).line, location[2])
88
return location
89
90
# Hack to stop issue with pytest-rerunfailures
0 commit comments