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 77c5762 commit 09420c6Copy full SHA for 09420c6
packages/pytest-simcore/src/pytest_simcore/helpers/httpx_calls_capture_parameters.py
@@ -66,9 +66,9 @@ def regex_pattern(self) -> str:
66
if self.oneOf:
67
msg = "Current version cannot compute regex patterns in case of oneOf. Please go ahead and implement it yourself."
68
raise NotImplementedError(msg)
69
- if self.anyOf:
+ if self.anyOf is not None:
70
return "|".join([elm.regex_pattern for elm in self.anyOf])
71
- if self.allOf:
+ if self.allOf is not None:
72
return "&".join([elm.regex_pattern for elm in self.allOf])
73
74
# now deal with non-recursive cases
0 commit comments