Searched refs:raise_exception (Results 1 – 4 of 4) sorted by relevance
65 c.validate(raise_exception=True)
229 def mock_validate(raise_exception, *args, **kwargs): argument230 assert raise_exception
261 def raise_exception(*args, **kwargs): function267 mock.patch('contextlib.closing', raise_exception):
1029 raise_exception argument1034 if raise_exception:1051 if raise_exception: