Skip to content

Commit bba544a

Browse files
committed
Not all tests with parameters have execparams
1 parent 7d5a7b1 commit bba544a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ def _now():
443443
def _process_custom_attributes(item):
444444
if not hasattr(item, 'callspec'):
445445
return
446+
if not 'execparams' in item.callspec.params:
447+
return
446448
ep: Optional[List[Dict[str, Dict[str, object]]]] = item.callspec.params['execparams']
447449
if ep.custom_attributes_raw is None:
448450
return

0 commit comments

Comments
 (0)