diff options
author | Matěj Cepl <mcepl@redhat.com> | 2014-01-02 15:55:18 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2014-01-02 15:55:18 +0100 |
commit | 4b3df4fabb92dab4028cb794de897eaf3b8fde82 (patch) | |
tree | 059ed1bd61151435830f2349368d61a29ae9a52e /test/test_functional.py | |
parent | 163aa69fd2b435b2ef180a2fe91c8112e12e15c3 (diff) | |
download | gg_scraper-4b3df4fabb92dab4028cb794de897eaf3b8fde82.tar.gz |
Creating raw MBOX fixed (tests included)
Fix #278 and #271
Diffstat (limited to 'test/test_functional.py')
-rw-r--r-- | test/test_functional.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test_functional.py b/test/test_functional.py index 3f657f6..3e8d874 100644 --- a/test/test_functional.py +++ b/test/test_functional.py @@ -10,7 +10,7 @@ ORIG_URL = 'http://groups.google.com/d/forum/jbrout' EXP_URL = 'https://groups.google.com/forum/' + \ '?_escaped_fragment_=forum/jbrout' TOPIC_URL = 'https://groups.google.com/forum/#!topic/jbrout/xNwoVmC07KI' -ARTICLE_URL = 'https://groups.google.com/forum/#!msg/jbrout' + \ +ARTICLE_URL = 'https://groups.google.com/d/msg/jbrout' + \ '/xNwoVmC07KI/OfpRHFscUkwJ' @@ -34,9 +34,7 @@ class TestGGScrapperFunctional(unittest.TestCase): def test_get_raw_article(self): self.maxDiff = None - logging.debug('article = URL {}'.format(ARTICLE_URL)) article = gg_scrapper.Article(ARTICLE_URL) - logging.debug('article = raw URL {}'.format(article.root)) rfc_msg = article.collect_message().replace('\r\n', '\n') rfc_msg = '\n'.join(rfc_msg.split('\n')[1:]) |