freezer.tests.commons.
BackupOpt1
¶Bases: object
freezer.tests.commons.
FakeCinderClient
¶Bases: object
freezer.tests.commons.
FakeGlanceClient
¶Bases: object
freezer.tests.commons.
FakeIdObject
(id)¶Bases: object
freezer.tests.commons.
FakeSubProcess
(opt1=True, stdin=True, stdout=True, stderr=True, shell=True, executable=True, env={}, bufsize=4096)¶Bases: object
Popen
()¶communicate
()¶communicate_error
()¶stdout
= ['abcd', 'ehfg']¶freezer.tests.commons.
FakeSubProcess3
(opt1=True, stdin=True, stdout=True, stderr=True, shell=True, executable=True)¶Bases: object
Popen
(opt1=True, stdin=True, stdout=True, stderr=True, shell=True, executable=True)¶communicate
()¶freezer.tests.commons.
FakeSubProcess6
¶Bases: object
Popen
(cmd=None)¶communicate
()¶communicate_error
()¶freezer.tests.commons.
FakeSwiftClient
¶Bases: object
client
¶Bases: object
Connection
(key=True, os_options=True, auth_version=True, user=True, authurl=True, tenant_name=True, retries=True, insecure=True)¶Bases: object
delete_object
(container_name='', object_name='')¶get_account
(*args, **kwargs)¶get_container
(container, *args, **kwargs)¶get_object
(*args, **kwargs)¶head_object
(container_name='', object_name='')¶put_container
(container=True)¶put_object
(container, obj, contents, content_length=None, etag=None, chunk_size=None, content_type=None, headers=None, query_string=None, response_dict=None)¶freezer.tests.commons.
FreezerBaseTestCase
(*args, **kwargs)¶Bases: testtools.testcase.TestCase
setUp
()¶Hook method for setting up the test fixture before exercising it.
tearDown
()¶Hook method for deconstructing the test fixture after testing it.
freezer.tests.commons.
Os
(directory=True)¶Bases: object
abspath
(directory=True, opt2=True)¶basename
(directory=True)¶chdir
(directory1=True)¶chdir2
(directory1=True)¶copy
()¶environ
(copy)¶exists
(directory=True)¶expanduser
(directory=True, opt2=True)¶expandvars
(directory=True)¶isabs
(directory=True)¶isdir
(directory=True)¶isfile
(directory=True)¶islink
(file=True)¶join
(directory1=True, directory2=True)¶makedirs
(directory=True)¶makedirs2
(directory=True)¶normcase
(directory=True, opt2=True)¶notexists
(directory=True)¶path
(directory=True)¶realpath
(directory=True, opt2=True)¶remove
(directory=True)¶rmdir
(directory1=True)¶split
(directory=True)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.