Skip to content

Commit 003ac6f

Browse files
committed
More pep8 fixes
1 parent 2657286 commit 003ac6f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

embedly/tests.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from embedly.client import Embedly
55
from embedly.models import Url
66

7+
78
class EmbedlyTestCase(unittest.TestCase):
89

910
def __init__(self, *args, **kwargs):
@@ -124,16 +125,15 @@ def test_multi_errors(self):
124125
self.assertTrue(objs[1].type == 'error',objs[1].dict)
125126

126127
objs = list(http.oembed(['http://blog.embed.ly/lsbsdlfldsf/asdf/kl',
127-
'http://yfrog.com/h22eu4j']))
128+
'http://yfrog.com/h22eu4j']))
128129
self.assertTrue(objs[0].type == 'error',objs[0].dict)
129130
self.assertTrue(objs[1].type == 'photo',objs[1].dict)
130131

131132
objs = list(http.oembed(['http://yfrog.com/h22eu4j',
132-
'http://www.scribd.com/asdf/asdf/asdfasdf']))
133+
'http://www.scribd.com/asdf/asdf/asdfasdf']))
133134
self.assertTrue(objs[0].type == 'photo',objs[0].dict)
134135
self.assertTrue(objs[1].type == 'error',objs[1].dict)
135136

136-
137137
def test_too_many_urls(self):
138138
http = Embedly(self.key)
139139

@@ -144,5 +144,6 @@ def test_too_many_urls(self):
144144
except Exception as e:
145145
self.assertTrue(type(e), ValueError)
146146

147+
147148
if __name__ == '__main__':
148149
unittest.main()

0 commit comments

Comments
 (0)