summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-08-18 16:28:27 +0000
committerTarmac <>2010-08-18 16:28:27 +0000
commit663667cdcf1bd16be33dc9b993123b7fc566caed (patch)
tree102289b0f30b6bd0d83ccee8196c013881bf45f1 /nova/tests
parent018ce9abbfb7047eff1e99379fba098a365e89eb (diff)
parent7cd16b5754a38257d6b492bc29e6f99f2537f11a (diff)
Since pylint=0.19 is our version, force everyone to use the disable-msg syntax.
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/network_unittest.py4
-rw-r--r--nova/tests/rpc_unittest.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/nova/tests/network_unittest.py b/nova/tests/network_unittest.py
index 039509809..993bfacc2 100644
--- a/nova/tests/network_unittest.py
+++ b/nova/tests/network_unittest.py
@@ -36,7 +36,7 @@ FLAGS = flags.FLAGS
class NetworkTestCase(test.TrialTestCase):
"""Test cases for network code"""
- def setUp(self): # pylint: disable=C0103
+ def setUp(self): # pylint: disable-msg=C0103
super(NetworkTestCase, self).setUp()
# NOTE(vish): if you change these flags, make sure to change the
# flags in the corresponding section in nova-dhcpbridge
@@ -60,7 +60,7 @@ class NetworkTestCase(test.TrialTestCase):
vpn.NetworkData.create(self.projects[i].id)
self.service = service.VlanNetworkService()
- def tearDown(self): # pylint: disable=C0103
+ def tearDown(self): # pylint: disable-msg=C0103
super(NetworkTestCase, self).tearDown()
for project in self.projects:
self.manager.delete_project(project)
diff --git a/nova/tests/rpc_unittest.py b/nova/tests/rpc_unittest.py
index 764a97416..e12a28fbc 100644
--- a/nova/tests/rpc_unittest.py
+++ b/nova/tests/rpc_unittest.py
@@ -32,7 +32,7 @@ FLAGS = flags.FLAGS
class RpcTestCase(test.BaseTestCase):
"""Test cases for rpc"""
- def setUp(self): # pylint: disable=C0103
+ def setUp(self): # pylint: disable-msg=C0103
super(RpcTestCase, self).setUp()
self.conn = rpc.Connection.instance()
self.receiver = TestReceiver()