Skip to content

Commit

Permalink
Not all tests with parameters have execparams
Browse files Browse the repository at this point in the history
  • Loading branch information
hategan committed Feb 2, 2024
1 parent 7d5a7b1 commit bba544a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ def _now():
def _process_custom_attributes(item):
if not hasattr(item, 'callspec'):
return
if not 'execparams' in item.callspec.params:
return
ep: Optional[List[Dict[str, Dict[str, object]]]] = item.callspec.params['execparams']
if ep.custom_attributes_raw is None:
return
Expand Down

0 comments on commit bba544a

Please sign in to comment.