Merge "Remove TooManyExternalNetworks exception class"

This commit is contained in:
Zuul 2020-03-13 20:48:03 +00:00 committed by Gerrit Code Review
commit ccbcc16381
2 changed files with 0 additions and 10 deletions
neutron_lib
exceptions
tests/unit/exceptions

@ -440,11 +440,6 @@ class ExternalIpAddressExhausted(BadRequest):
"network %(net_id)s.")
class TooManyExternalNetworks(NeutronException):
"""An error due to more than one external networks existing."""
message = _("More than one external network exists.")
class InvalidConfigurationOption(NeutronException):
"""An error due to an invalid configuration option value.

@ -279,11 +279,6 @@ class TestExceptions(base.BaseTestCase):
_("Unable to find any IP address on external network darpanet."),
net_id='darpanet')
def test_too_many_external_networks(self):
self._check_nexc(
ne.TooManyExternalNetworks,
_("More than one external network exists."))
def test_invalid_configuration_option(self):
self._check_nexc(
ne.InvalidConfigurationOption,