The neutron_fwaas.tests.unit.privileged.test_utils Module

class neutron_fwaas.tests.unit.privileged.test_utils.InNamespaceTest(*args, **kwds)

Bases: neutron_fwaas.tests.base.BaseTestCase

NEW_NETNS = 'newns'
NEW_NETNS_FD = 421
ORG_NETNS_FD = 124
fake_setns(setns)
setUp()
test_in_namespace(*args, **kwargs)
test_in_namespace_enter_failed(*args, **kwargs)
test_in_namespace_exit_failed(*args, **kwargs)
test_in_namespace_failed(*args, **kwargs)
test_in_no_namespace(*args, **kwargs)