bfb1555120
Fixes bug 1041316 This patch covers linuxbridge, nec, nicira, and ryu plugins. Change-Id: I024a46bc9b49ffe60cdbe9fa275f30ac9d829a9a
31 lines
705 B
Python
31 lines
705 B
Python
# Copyright (C) 2009-2011 Nicira Networks, Inc. All Rights Reserved.
|
|
#
|
|
# This software is provided only under the terms and conditions of a written
|
|
# license agreement with Nicira. If no such agreement applies to you, you are
|
|
# not authorized to use this software. Contact Nicira to obtain an appropriate
|
|
# license: www.nicira.com.
|
|
|
|
import eventlet
|
|
eventlet.monkey_patch()
|
|
import logging
|
|
import unittest
|
|
import urllib2
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
lg = logging.getLogger("test_nvp_api_request")
|
|
|
|
REQUEST_TIMEOUT = 1
|
|
|
|
|
|
def fetch(url):
|
|
return urllib2.urlopen(url).read()
|
|
|
|
|
|
class NvpApiRequestTest(unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
pass
|
|
|
|
def tearDown(self):
|
|
pass
|