moto/tests/test_redshift
Brian Pandola 4245497a97
Fix: redshift:EnableSnapshotCopy raises incorrect Exception (#3485)
The previous code was trying to raise a botocore ClientError directly, which
was actually generating a secondary AttributeError because the arguments passed
to ClientError() were incorrect.

This replaces the ClientError() call with a proper moto exception class for
Redshift and fixes the test assertions appropriately.

Supersedes #1957
2020-11-21 10:35:46 +00:00
..
__init__.py Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_redshift.py Fix: redshift:EnableSnapshotCopy raises incorrect Exception (#3485) 2020-11-21 10:35:46 +00:00
test_server.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00