File tree Expand file tree Collapse file tree
test/integration/models/monitor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212from linode_api4 import LinodeClient , LogsStreamType , PaginatedList
1313from linode_api4 .objects import (
14- Capability ,
1514 ObjectStorageACL ,
1615 ObjectStorageBucket ,
1716 ObjectStorageKeys ,
3130)
3231
3332
34- @pytest .fixture (scope = "session" , autouse = True )
35- def require_aclp_logs (test_linode_client : LinodeClient ):
36- """Skip all tests in this module if the aclp_logs feature is not enabled for the account."""
37- account = test_linode_client .account ()
38- if Capability .aclp_logs not in account .capabilities :
39- pytest .skip ("aclp_logs feature is not enabled for this account" )
40-
41-
4233@pytest .fixture (scope = "session" )
4334def create_object_storage_key (test_linode_client : LinodeClient ):
4435 key = test_linode_client .object_storage .keys_create (
You can’t perform that action at this time.
0 commit comments