--- tests/004-test-client.py.orig 2012-01-20 17:39:18.000000000 +0100 +++ tests/004-test-client.py 2012-03-23 11:51:14.079946644 +0100 @@ -112,29 +112,29 @@ t.eq(r.body_string(), "ok") -@t.client_request('http://e-engura.com/images/logo.gif') -def test_007(u, c): - r = c.request(u) - print r.status - t.eq(r.status_int, 200) - fd, fname = tempfile.mkstemp(suffix='.gif') - f = os.fdopen(fd, "wb") - f.write(r.body_string()) - f.close() - t.eq(imghdr.what(fname), 'gif') +#@t.client_request('http://e-engura.com/images/logo.gif') +#def test_007(u, c): +# r = c.request(u) +# print r.status +# t.eq(r.status_int, 200) +# fd, fname = tempfile.mkstemp(suffix='.gif') +# f = os.fdopen(fd, "wb") +# f.write(r.body_string()) +# f.close() +# t.eq(imghdr.what(fname), 'gif') -@t.client_request('http://e-engura.com/images/logo.gif') -def test_008(u, c): - r = c.request(u) - t.eq(r.status_int, 200) - fd, fname = tempfile.mkstemp(suffix='.gif') - f = os.fdopen(fd, "wb") - with r.body_stream() as body: - for block in body: - f.write(block) - f.close() - t.eq(imghdr.what(fname), 'gif') +#@t.client_request('http://e-engura.com/images/logo.gif') +#def test_008(u, c): +# r = c.request(u) +# t.eq(r.status_int, 200) +# fd, fname = tempfile.mkstemp(suffix='.gif') +# f = os.fdopen(fd, "wb") +# with r.body_stream() as body: +# for block in body: +# f.write(block) +# f.close() +# t.eq(imghdr.what(fname), 'gif') @t.client_request('/redirect')