vmware-nsx/quantum/tests/unit/nicira/test_nvp_api_request.py
Salvatore Orlando bfb1555120 Allow tox to run plugin specific unit tests
Fixes bug 1041316

This patch covers linuxbridge, nec, nicira, and ryu plugins.

Change-Id: I024a46bc9b49ffe60cdbe9fa275f30ac9d829a9a
2012-08-24 14:40:29 -07:00

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