From 34c5734b54c43176fd5a69a62356e60c1ae6565c Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 25 Feb 2013 21:08:19 -0500 Subject: [PATCH] Add missing import to fakelibvirt. This module calls time.sleep(1), but was not importing the time module. This fixes it. Fix bug 1133056. Change-Id: Ifbba2a98ccdd8d5e26ce466831618ccab9e0b462 --- nova/tests/fakelibvirt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/tests/fakelibvirt.py b/nova/tests/fakelibvirt.py index 69a4e677..bb5496e8 100644 --- a/nova/tests/fakelibvirt.py +++ b/nova/tests/fakelibvirt.py @@ -16,6 +16,7 @@ from lxml import etree +import time import uuid # Allow passing None to the various connect methods