How to Solve NameError: name 'fakelibosinfo' is not defined -- nova

Solution: Import the 'fakelibosinfo' module

# Add the following line to the top of your code
from nova.tests.unit.virt import fakelibosinfo

 

For more information:
nova fakelibosinfo