ironic/ironic/tests/unit/drivers
Igor Kalnitsky 6c1aa56429
Fix fake.FakeBoot.prepare_ramdisk() signature
According to `BootInterface` [1], the `prepare_ramdisk` method must
receive 3 arguments (self, task, ramdisk_params) while `FakeBoot`
implementation receives only 2 arguments (self, task).

This cause a runtime error when one wants one to use `FakeBoot` driver
as a part of its own driver (for test purposes or in case of standalone
Ironic with static PXE configuration).

The reason why it works now is, no one use `FakeBoot` without other fake
parts, so `prepare_ramdisk` is never called.

[1]: http://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/base.py#n416

Change-Id: I0a55bfaf8aa58747ad2cfcd14ec84430d139e68c
2016-07-15 16:36:37 +03:00
..
modules Nova-compatible serial console: socat console_utils 2016-07-14 01:09:19 +00:00
__init__.py Prepare for functional testing 2015-09-28 21:27:01 +00:00
agent_pxe_config.template Add support for partition images in agent drivers 2016-03-21 16:12:08 +00:00
elilo_efi_pxe_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
ipxe_config.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
ipxe_config_timeout.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
ipxe_uefi_config.template ipxe: retry on failure 2016-04-19 10:20:36 -04:00
pxe_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
pxe_grub_config.template Prepare for functional testing 2015-09-28 21:27:01 +00:00
test_agent.py Add agent_iboot entrypoint 2015-11-10 09:30:53 +00:00
test_base.py Introduce new driver call and RPC for heartbeat 2016-06-27 15:26:10 +02:00
test_fake.py Fix fake.FakeBoot.prepare_ramdisk() signature 2016-07-15 16:36:37 +03:00
test_irmc.py Remove iterated form of side effects 2016-07-07 10:08:55 +09:00
test_pxe.py Remove support for the old ramdisk (DIB deploy-ironic element) 2016-06-09 13:43:21 +02:00
test_utils.py Replace dict.get(key) in drivers unit tests 2016-06-20 10:19:31 -04:00
third_party_driver_mock_specs.py Firmware update(iLO) as manual cleaning step 2016-03-04 12:34:37 -08:00
third_party_driver_mocks.py Firmware update(iLO) as manual cleaning step 2016-03-04 12:34:37 -08:00