<s> from keystoneauth1 import session <EOL> from openstackclient . api import object_store_v1 as object_store <EOL> from openstackclient . tests import utils <EOL> ACCOUNT_ID = '<STR_LIT>' <EOL> ENDPOINT = '<STR_LIT>' + ACCOUNT_ID <EOL> container_name = '<STR_LIT>' <EOL> container_bytes = <NUM_LIT> <EOL> container_count = <NUM_LIT:1> <EOL> container_name_2 = '<STR_LIT>' <EOL> container_name_3 = '<STR_LIT>' <EOL> CONTAINER = { <EOL> '<STR_LIT:name>' : container_name , <EOL> '<STR_LIT>' : container_bytes , <EOL> '<STR_LIT:count>' : container_count , <EOL> } <EOL> CONTAINER_2 = { <EOL> '<STR_LIT:name>' : container_name_2 , <EOL> '<STR_LIT>' : container_bytes * <NUM_LIT:2> , <EOL> '<STR_LIT:count>' : container_count * <NUM_LIT:2> , <EOL> } <EOL> CONTAINER_3 = { <EOL> '<STR_LIT:name>' : container_name_3 , <EOL> '<STR_LIT>' : container_bytes * <NUM_LIT:3> , <EOL> '<STR_LIT:count>' : container_count * <NUM_LIT:3> , <EOL> } <EOL> object_name_1 = '<STR_LIT>' <EOL> object_bytes_1 = <NUM_LIT> <EOL> object_hash_1 = '<STR_LIT>' <EOL> object_content_type_1 = '<STR_LIT:text>' <EOL> object_modified_1 = '<STR_LIT>' <EOL> object_name_2 = '<STR_LIT>' <EOL> object_bytes_2 = <NUM_LIT> <EOL> object_hash_2 = '<STR_LIT>' <EOL> object_content_type_2 = '<STR_LIT:text>' <EOL> object_modified_2 = '<STR_LIT>' <EOL> OBJECT = { <EOL> '<STR_LIT:name>' : object_name_1 , <EOL> '<STR_LIT>' : object_bytes_1 , <EOL> '<STR_LIT>' : object_hash_1 , <EOL> '<STR_LIT>' : object_content_type_1 , <EOL> '<STR_LIT>' : object_modified_1 , <EOL> } <EOL> OBJECT_2 = { <EOL> '<STR_LIT:name>' : object_name_2 , <EOL> '<STR_LIT>' : object_bytes_2 , <EOL> '<STR_LIT>' : object_hash_2 , <EOL> '<STR_LIT>' : object_content_type_2 , <EOL> '<STR_LIT>' : object_modified_2 , <EOL> } <EOL> class TestObjectv1 ( utils . TestCommand ) : <EOL> def setUp ( self ) : <EOL> super ( TestObjectv1 , self ) . setUp ( ) <EOL> self . app . client_manager . session = session . Session ( ) <EOL> self . app . client_manager . object_store = object_store . APIv1 ( <EOL> session = self . app . client_manager . session , <EOL> endpoint = ENDPOINT , <EOL> ) </s>
