23 lines
700 B
Diff
23 lines
700 B
Diff
|
Disable test that requires a network connection.
|
|||
|
|
|||
|
--- a/tests/test_pyquery.py
|
|||
|
+++ b/tests/test_pyquery.py
|
|||
|
@@ -613,10 +613,10 @@
|
|||
|
self.s.shutdown()
|
|||
|
|
|||
|
|
|||
|
-class TestWebScrappingEncoding(TestCase):
|
|||
|
-
|
|||
|
- def test_get(self):
|
|||
|
- d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
|
|||
|
- method='get')
|
|||
|
- print(d)
|
|||
|
- self.assertEqual(d('#pt-login').text(), u'Войти')
|
|||
|
+#class TestWebScrappingEncoding(TestCase):
|
|||
|
+#
|
|||
|
+# def test_get(self):
|
|||
|
+# d = pq(u'http://ru.wikipedia.org/wiki/Заглавная_страница',
|
|||
|
+# method='get')
|
|||
|
+# print(d)
|
|||
|
+# self.assertEqual(d('#pt-login').text(), u'Войти')
|