The magnumclient.tests.osc.unit.osc_fakes Module

The magnumclient.tests.osc.unit.osc_fakes Module

class magnumclient.tests.osc.unit.osc_fakes.FakeApp(_stdout, _log)

Bases: object

class magnumclient.tests.osc.unit.osc_fakes.FakeClient(**kwargs)

Bases: object

class magnumclient.tests.osc.unit.osc_fakes.FakeClientManager

Bases: object

get_configuration()
is_network_endpoint_enabled()
class magnumclient.tests.osc.unit.osc_fakes.FakeLog

Bases: object

critical(msg)
debug(msg)
error(msg)
info(msg)
warning(msg)
class magnumclient.tests.osc.unit.osc_fakes.FakeModel

Bases: dict

class magnumclient.tests.osc.unit.osc_fakes.FakeModule(name, version)

Bases: object

class magnumclient.tests.osc.unit.osc_fakes.FakeOptions(**kwargs)

Bases: object

class magnumclient.tests.osc.unit.osc_fakes.FakeResource(manager=None, info=None, loaded=False, methods=None)

Bases: object

get(item, default=None)
info
keys()
to_dict()
class magnumclient.tests.osc.unit.osc_fakes.FakeResponse(headers=None, status_code=200, data=None, encoding=None)

Bases: requests.models.Response

class magnumclient.tests.osc.unit.osc_fakes.FakeStdout

Bases: object

make_string()
write(text)
magnumclient.tests.osc.unit.osc_fakes.to_unicode_dict(catalog_dict)

Converts dict to unicode dict

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.