aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/test_functional.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test_functional.py b/test/test_functional.py
index 44a5c8f..02ccc6d 100644
--- a/test/test_functional.py
+++ b/test/test_functional.py
@@ -14,6 +14,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'
+OSCAR_URL = 'https://groups.google.com/forum/#!forum/django-oscar'
ARTICLE_URL = 'https://groups.google.com/d/msg/jbrout' + \
'/xNwoVmC07KI/OfpRHFscUkwJ'
@@ -35,6 +36,11 @@ class TestGGScrapperFunctional(unittest.TestCase):
topics = page.get_topics()
self.assertGreater(len(topics), 0)
+ def test_collecting_oscar_topics(self):
+ page = gg_scraper.Group(OSCAR_URL)
+ topics = page.get_topics()
+ self.assertGreater(len(topics), 0)
+
def test_collecting_articles(self):
logging.debug('topic = URL {0}'.format(TOPIC_URL))
topic = gg_scraper.Topic(TOPIC_URL,