From 1f96a67661109eb8aa69b7c693b1c483f241b561 Mon Sep 17 00:00:00 2001 From: Mikyung Kang Date: Sat, 10 Nov 2012 08:07:13 +0900 Subject: Tests for PXE bare-metal provisioning helper server. a part of blueprint general-bare-metal-provisioning-framework. The deploy helper was landed without tests. This patch reinstates the tests. Change-Id: I690ec077e175dc37c2cc5f18170513b0e5bca103 Co-authored-by: Mikyung Kang Co-authored-by: David Kang Co-authored-by: Ken Igarashi Co-authored-by: Arata Notsu Co-authored-by: Devananda van der Veen --- bin/nova-baremetal-deploy-helper | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/nova-baremetal-deploy-helper b/bin/nova-baremetal-deploy-helper index fa0a30d9e..edcec3101 100755 --- a/bin/nova-baremetal-deploy-helper +++ b/bin/nova-baremetal-deploy-helper @@ -18,7 +18,10 @@ """Starter script for Bare-Metal Deployment Service.""" import eventlet -eventlet.monkey_patch() + +# Do not monkey_patch in unittest +if __name__ == '__main__': + eventlet.monkey_patch() import os import sys -- cgit