John L. Villalovos 43fbc5dc6a Cleanup unit tests for ipmittool
By having a mock patch on the testcase class it was requiring 40+
functions to have 'mock_sleep' in their argument list. When we are
only checking the mock about five times. Instead put it into the
setUp() function.

Also fix mistakes introduced by previous patches that did not realize
that:
    @mock.patch.object(ipmi, '_make_password_file', _make_password_file_stub)
    def some_func(self, mock_pass): ...

The mock.patch.object() is defining the object completely and thus it
(mock_pass) is not actually passed as an argument to the function.
When removing the 'mock_sleep' mock I discovered this issue.

Change-Id: Iac5dfa8382d04bead745260598d5228c6114b70d
2017-09-25 12:31:39 -07:00
2017-09-25 12:31:39 -07:00
2013-05-02 14:55:43 -04:00
2013-10-28 10:19:15 +00:00
2015-09-28 21:27:01 +00:00
2013-07-22 09:51:10 +02:00
2017-08-21 17:41:52 -04:00
2013-05-02 14:55:43 -04:00
2017-08-21 17:41:52 -04:00
2017-03-02 11:45:27 +00:00
2015-08-07 09:51:32 +00:00

Team and repository tags

image

Ironic

Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.

Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: https://launchpad.net/ironic

For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor

Description
A service for managing and provisioning Bare Metal servers.
Readme 309 MiB
Languages
Python 97.9%
Shell 2.1%