From 39fbf5a9fd5f89961f2385519147b38c12849768 Mon Sep 17 00:00:00 2001 From: icoz Date: Sun, 9 Jul 2017 14:43:10 +0300 Subject: =?UTF-8?q?topic.py:=20-=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D0=B0,=20=D0=BF=D0=BE=20=D0=BA=D0=BE=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=20=D0=BF=D1=80=D0=BE=D0=B2=D0=BE=D0=B4=D0=B8=D0=BB?= =?UTF-8?q?=D1=81=D1=8F=20=D0=BE=D0=B4=D0=B8=D0=BD=20=D0=B8=D0=B7=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=BE=D0=B2,=20=D1=83=D0=B4=D0=B0=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0.=20=D0=A1=D0=BE=D0=BE=D1=82=D0=B2=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=82=D0=B2=D1=83=D1=8E=D1=89=D0=B8=D0=B9=20=D1=82?= =?UTF-8?q?=D0=B5=D1=81=D1=82=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- habr/topic.py | 18 +++++++++--------- 1 file 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): -- cgit v1.2.3