~wxl/loco-team-portal/more-details

« back to all changes in this revision

Viewing changes to loco_directory/articles/tests.py

  • Committer: Adnane Belmadiaf
  • Date: 2012-06-01 22:28:09 UTC
  • mto: This revision was merged to the branch mainline in revision 538.
  • Revision ID: daker@ubuntu.com-20120601222809-ukuz7o327vjrxz6j
* Fixed the articles app coding styles

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from django.test import TestCase
2
 
from django.test.client import Client
3
2
 
4
3
from articles.models import Feed, Article
5
4
 
 
5
 
6
6
class ArticlesTests(TestCase):
7
7
 
8
8
    def setUp(self):
14
14
        """Just make sure everything is set up correctly."""
15
15
        self.assert_(True)
16
16
        try:
17
 
            import feedparser
 
17
            import feedparser  # NOQA
 
18
            print feedparser.__version__
18
19
        except:
19
20
            self.assert_(False)
20
21