panko.tests.functional.api.v2.test_acl_scenarios Module¶Test ACL.
NoneBases: panko.tests.functional.api.v2.FunctionalTest
TestAPIACL.get_json(path, expect_errors=False, headers=None, q=None, **params)¶Sends simulated HTTP GET request to Pecan test app.
path – url path of target service
expect_errors – boolean value whether an error is expected based on request
headers – A dictionary of headers to send along with the request
extra_environ – A dictionary of environ variables to send along with the request
q – list of queries consisting of: field, value, op, and type keys
groupby – list of fields to group by
status – Expected status code of response
override_params – literally encoded query param string
params – content for wsgi.input of request
TestAPIACL.setUp()¶Hook method for setting up the test fixture before exercising it.
NoneBases: panko.tests.functional.api.v2.test_acl_scenarios.TestAPIACL
TestAPIEventACL.test_non_admin_get_event_types()¶NoneBases: panko.tests.functional.api.v2.test_acl_scenarios.TestBaseApiEventRBAC
TestApiEventAdminRBAC.tearDown()¶Hook method for deconstructing the test fixture after testing it.
TestApiEventAdminRBAC.test_get_event()¶TestApiEventAdminRBAC.test_get_event_bad()¶TestApiEventAdminRBAC.test_get_events()¶TestApiEventAdminRBAC.test_get_events_bad()¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.