Comment 3 for bug 1606647

Revision history for this message
Steve Noyes (steve-noyes) wrote :

another case in fake_block_device_db:

class FakeDbBlockDeviceDict(block_device.BlockDeviceDict):
    """Defaults db fields - useful for mocking database calls."""

    def __init__(self, bdm_dict=None, anon=False, **kwargs):
        bdm_dict = bdm_dict or {}
        db_id = bdm_dict.pop('id', 1) <<<<<<<<<