]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
PEP8
authorKevin McCarthy <me@kevinmccarthy.org>
Thu, 31 May 2012 07:09:28 +0000 (21:09 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Thu, 31 May 2012 07:09:28 +0000 (21:09 -1000)
test.py

diff --git a/test.py b/test.py
index 54362d5e10a45cd031d5e2518617358fae495c1f..14ef47c7326c67e2d617cc894db22ba56658de74 100644 (file)
--- a/test.py
+++ b/test.py
@@ -5,6 +5,7 @@ import urllib2
 
 TEST_CASSETTE_FILE = 'test/test_req.yaml'
 
+
 class TestHttpRequest(unittest.TestCase):
 
     def setUp(self):
@@ -16,12 +17,12 @@ class TestHttpRequest(unittest.TestCase):
     def test_response_code(self):
         with vcr.use_cassette(TEST_CASSETTE_FILE):
             code = urllib2.urlopen('http://www.iana.org/domains/example/').getcode()
-            self.assertEqual(code,urllib2.urlopen('http://www.iana.org/domains/example/').getcode())
+            self.assertEqual(code, urllib2.urlopen('http://www.iana.org/domains/example/').getcode())
 
     def test_response_body(self):
         with vcr.use_cassette('test/synopsis.yaml'):
             body = urllib2.urlopen('http://www.iana.org/domains/example/').read()
-            self.assertEqual(body,urllib2.urlopen('http://www.iana.org/domains/example/').read())
+            self.assertEqual(body, urllib2.urlopen('http://www.iana.org/domains/example/').read())
 
 
 if __name__ == '__main__':