The ironicclient.tests.unit.utils Module

class ironicclient.tests.unit.utils.BaseTestCase(*args, **kwargs)[source]

Bases: testtools.testcase.TestCase

setUp()[source]
class ironicclient.tests.unit.utils.FakeAPI(responses)[source]

Bases: object

json_request(*args, **kwargs)[source]
raw_request(*args, **kwargs)[source]
class ironicclient.tests.unit.utils.FakeConnection(response=None)[source]

Bases: object

getresponse()[source]
request(method, conn_url, **kwargs)[source]
setresponse(response)[source]
class ironicclient.tests.unit.utils.FakeResponse(headers, body=None, version=None, status=None, reason=None)[source]

Bases: object

getheader(key, default)[source]
getheaders()[source]
read(amt)[source]
class ironicclient.tests.unit.utils.FakeSession(headers, content=None, status_code=None, version=None)[source]

Bases: object

request(url, method, **kwargs)[source]
class ironicclient.tests.unit.utils.FakeSessionResponse(headers, content=None, status_code=None, version=None)[source]

Bases: object

iter_content(chunk_size)[source]

Previous topic

The ironicclient.tests.unit.test_shell Module

Next topic

The ironicclient.tests.unit.v1.test_chassis Module

Project Source

This Page