Error handling: Model-level validations, proper error responses. (backport assert_raises as context manager for Python 2.6)
This commit is contained in:
parent
d160f2c6d6
commit
c97417d8e7
13 changed files with 85 additions and 13 deletions
|
|
@ -1,8 +1,11 @@
|
|||
# Ensure 'assert_raises' context manager support for Python 2.6
|
||||
import tests.backport_assert_raises
|
||||
from nose.tools import assert_raises
|
||||
|
||||
import boto
|
||||
from boto.exception import EC2ResponseError
|
||||
|
||||
import sure # noqa
|
||||
from nose.tools import assert_raises
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue