Skip to content

Commit 717d01c

Browse files
committed
travis: replace unreachable logo URL
travis said ERROR: tests.004-test-client.test_008 ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/nose/util.py", line 620, in newfunc return func(*arg, **kw) File "/home/travis/build/benoitc/restkit/tests/t.py", line 73, in run func(self.url, cli) File "/home/travis/build/benoitc/restkit/tests/004-test-client.py", line 129, in test_008 r = c.request(u) File "/home/travis/build/benoitc/restkit/restkit/client.py", line 416, in request return self.perform(request) File "/home/travis/build/benoitc/restkit/restkit/client.py", line 352, in perform raise RequestError(str(e)) RequestError: [Errno -2] Name or service not known -------------------- >> begin captured logging << -------------------- restkit.client: DEBUG: Start to perform request: e-engura.com GET /images/logo.gif $ host www.e-engura.com Host www.e-engura.com not found: 3(NXDOMAIN)
1 parent 222f932 commit 717d01c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/004-test-client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_006(u, c):
112112
t.eq(r.body_string(), "ok")
113113

114114

115-
@t.client_request('http://e-engura.com/images/logo.gif')
115+
@t.client_request('http://www.lsmod.de/~bernhard/mirror/e-engura.com/images/logo.gif')
116116
def test_007(u, c):
117117
r = c.request(u)
118118
print r.status
@@ -124,7 +124,7 @@ def test_007(u, c):
124124
t.eq(imghdr.what(fname), 'gif')
125125

126126

127-
@t.client_request('http://e-engura.com/images/logo.gif')
127+
@t.client_request('http://www.lsmod.de/~bernhard/mirror/e-engura.com/images/logo.gif')
128128
def test_008(u, c):
129129
r = c.request(u)
130130
t.eq(r.status_int, 200)

0 commit comments

Comments
 (0)