From daa2569eda7a744113813e2fd4747c2f3e05e0c1 Mon Sep 17 00:00:00 2001 From: Michael Gundlach Date: Mon, 25 Oct 2010 12:25:50 -0400 Subject: pep8 --- nova/tests/api/test_wsgi.py | 2 +- nova/tests/api_unittest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nova/tests/api/test_wsgi.py b/nova/tests/api/test_wsgi.py index 604d0cb66..44e2d615c 100644 --- a/nova/tests/api/test_wsgi.py +++ b/nova/tests/api/test_wsgi.py @@ -112,7 +112,7 @@ class SerializerTest(unittest.TestCase): self.match('/servers/4.json', None, expect='json') self.match('/servers/4', 'application/json', expect='json') self.match('/servers/4', 'application/xml', expect='xml') - self.match('/servers/4.xml', None, expect='xml') + self.match('/servers/4.xml', None, expect='xml') def test_defaults_to_json(self): self.match('/servers/4', None, expect='json') diff --git a/nova/tests/api_unittest.py b/nova/tests/api_unittest.py index 80493b10a..0b1c3e353 100644 --- a/nova/tests/api_unittest.py +++ b/nova/tests/api_unittest.py @@ -242,7 +242,7 @@ class ApiEc2TestCase(test.BaseTestCase): self.assertEquals(int(group.rules[0].from_port), 80) self.assertEquals(int(group.rules[0].to_port), 81) self.assertEquals(len(group.rules[0].grants), 1) - self.assertEquals(str(group.rules[0].grants[0]), '0.0.0.0/0') + self.assertEquals(str(group.rules[0].grants[0]), '0.0.0.0/0') self.expect_http() self.mox.ReplayAll() -- cgit