diff options
| author | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-10-25 12:25:50 -0400 |
|---|---|---|
| committer | Michael Gundlach <michael.gundlach@rackspace.com> | 2010-10-25 12:25:50 -0400 |
| commit | daa2569eda7a744113813e2fd4747c2f3e05e0c1 (patch) | |
| tree | ae80c971af99b7087a8d53ecd93929adda7e1b22 | |
| parent | e2746b3e4a3e07b6eea6c3db1551d4d61f2e0a97 (diff) | |
pep8
| -rw-r--r-- | nova/tests/api/test_wsgi.py | 2 | ||||
| -rw-r--r-- | 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() |
