Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/icoz/habraparse.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricoz <icoz.vt@gmail.com>2017-07-09 14:43:10 +0300
committericoz <icoz.vt@gmail.com>2017-07-09 14:43:10 +0300
commit39fbf5a9fd5f89961f2385519147b38c12849768 (patch)
tree998ef537ae4bc0f232c6068588158c40c5974289
parent5aed67eb79e641ad633905066e9cf3d7093dc483 (diff)
topic.py:
- страница, по которой проводился один из тестов, удалена. Соответствующий тест удален.
-rw-r--r--habr/topic.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/habr/topic.py b/habr/topic.py
index 2988e62..a098f2c 100644
--- a/habr/topic.py
+++ b/habr/topic.py
@@ -242,15 +242,15 @@ class TestGTTopic(TestCase):
pp.pprint(t.post['comments_count'])
pp.pprint(t.post['rating'])
- def test_topic2(self):
- t = GeektimesTopic(245130)
- pp = pprint.PrettyPrinter(indent=4)
- pp.pprint(t.author())
- self.assertEqual(t.author(), '@Robotex')
- pp.pprint(t.title())
- self.assertEqual(t.title(), 'Autodesk и Voxel8 делают 3D-печать электроники реальностью')
- pp.pprint(t.post['comments_count'])
- pp.pprint(t.post['rating'])
+ # def test_topic2(self):
+ # t = GeektimesTopic(245130)
+ # pp = pprint.PrettyPrinter(indent=4)
+ # pp.pprint(t.author())
+ # self.assertEqual(t.author(), '@Robotex')
+ # pp.pprint(t.title())
+ # self.assertEqual(t.title(), 'Autodesk и Voxel8 делают 3D-печать электроники реальностью')
+ # pp.pprint(t.post['comments_count'])
+ # pp.pprint(t.post['rating'])
# class TestMMTopic(TestCase):
# def test_topic(self):