MCPcopy Index your code
hub / github.com/aws/aws-cli / assert_raises

Method assert_raises

tests/unit/botocore/test_compat.py:205–207  ·  view source on GitHub ↗
(self, s, exception_cls, platform)

Source from the content-addressed store, hash-verified

203 assert compat_shell_split(s, platform) == expected
204
205 def assert_raises(self, s, exception_cls, platform):
206 with pytest.raises(exception_cls):
207 compat_shell_split(s, platform)
208
209
210class TestTimezoneOperations(unittest.TestCase):

Calls 1

compat_shell_splitFunction · 0.90

Tested by

no test coverage detected