

@mock.patch('nova.db.instance_extra_get_by_instance_uuid')
def test_get_by_instance_uuid(self, mock_get):
    mock_get.return_value = fake_db_context
    mock_get._test_get_by_instance_uuid(fake_db_context)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/objects/test_migration_context.py _TestMigrationContext.test_get_by_instance_uuid/VarMisuse@26/54 `self`->`mock_get`