ec2-api/ec2api/tests/unit
Feodor Tersin 99e124814c Reorganize hierarchy of exception classes
Separate ancestors of ec2api internal and aws compliant exceptions.
EC2APIException - base exception class for ec2api with formatting
support
EC2MetadataException - still covers internal exception of ec2api
metadata service
EC2Exception - still covers AWS compliant exceptions
EC2xxxException - derive EC2Exception and are intended to group
exceptions by kind

Also remove unused attributes and code from base exception class.
Fix string constant style to be 'xxx' wherever it's possible.

Change-Id: I398c1e8e1816e0d4073fa5d3fdf0c0a939470399
2015-03-21 01:20:58 +03:00
..
__init__.py move unit tests to subdirectory. part 2. 2015-02-06 22:01:40 +03:00
abs.tar.gz move unit tests to subdirectory. part 1. 2015-02-06 22:00:33 +03:00
base.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
fakes.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
fakes_request_response.py move unit tests to subdirectory. part 2. 2015-02-06 22:01:40 +03:00
matchers.py move unit tests to subdirectory. part 2. 2015-02-06 22:01:40 +03:00
rel.tar.gz move unit tests to subdirectory. part 1. 2015-02-06 22:00:33 +03:00
test_address.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_api_init.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_apirequest.py Do not use namedtuple to mock objects 2015-03-05 17:14:26 +03:00
test_availability_zone.py Rework fake action execute interface 2015-03-06 00:56:19 +03:00
test_clients.py Get partial compatibility with pre Kilo Nova release 2015-03-21 01:20:46 +03:00
test_common.py move unit tests to subdirectory. part 2. 2015-02-06 22:01:40 +03:00
test_context.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
test_db_api.py Bring more compatibility with oslo_db 2015-03-01 01:07:56 +03:00
test_dhcp_options.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_ec2_validate.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_ec2utils.py Simplify usage of db_api.get_items_by_ids 2015-03-01 00:46:25 +03:00
test_faults.py move unit tests to subdirectory. part 1. 2015-02-06 22:00:33 +03:00
test_image.py Reorganize hierarchy of exception classes 2015-03-21 01:20:58 +03:00
test_instance.py Reorganize hierarchy of exception classes 2015-03-21 01:20:58 +03:00
test_internet_gateway.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_key_pair.py Rework fake action execute interface 2015-03-06 00:56:19 +03:00
test_metadata.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
test_metadata_api.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
test_middleware.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_network_interface.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_route_table.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_security_group.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_snapshot.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
test_subnet.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_tag.py Rework fake action execute interface 2015-03-06 00:56:19 +03:00
test_tools.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
test_volume.py Get rid of Nova DB access 2015-03-20 15:33:05 +03:00
test_vpc.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00
tools.py Supress error logging for passed negative unit tests 2015-03-08 00:00:45 +03:00