The neutron_fwaas.tests.unit.services.firewall.agents.test_firewall_service Module

class neutron_fwaas.tests.unit.services.firewall.agents.test_firewall_service.TestFirewallDeviceDriverLoading(*args, **kwds)

Bases: neutron.tests.base.BaseTestCase

setUp()
test_fail_firewall_no_device_driver_specified(*args, **kwargs)

Failure test when no FWaaS device driver is specified.

This is a configuration error, as the user must specify a device driver, when enabling the firewall service (and there is no default configuration set. We’ll simulate that by using an empty string.

test_fail_no_such_firewall_device_driver(*args, **kwargs)

Failure test of import error for FWaaS device driver.

test_loading_firewall_device_driver(*args, **kwargs)

Get the sole device driver for FWaaS.