The ironic.tests.unit.api.test_acl Module

Tests for ACL. Checks whether certain kinds of requests are blocked or allowed to be processed.

class ironic.tests.unit.api.test_acl.TestACL(*args, **kwargs)[source]

Bases: ironic.tests.unit.api.base.BaseApiTest

get_json(path, expect_errors=False, headers=None, q=None, **param)[source]
setUp()[source]
test_authenticated()[source]
test_non_admin()[source]
test_non_admin_with_admin_header()[source]
test_non_authenticated()[source]
test_public_api()[source]
test_public_api_with_path_extensions()[source]

Project Source

This Page