aboutsummaryrefslogtreecommitdiff
path: root/tests/controllers/article.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-05-24 19:09:35 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-07-02 15:34:16 +0200
commit4f03d7b324360f718780fcbdfc359f60896fead4 (patch)
tree772ead2931ebd12dfff3eb2199d13463ae3e1fc3 /tests/controllers/article.py
parentadding comments and tests (diff)
downloadnewspipe-4f03d7b324360f718780fcbdfc359f60896fead4.tar.gz
newspipe-4f03d7b324360f718780fcbdfc359f60896fead4.tar.bz2
newspipe-4f03d7b324360f718780fcbdfc359f60896fead4.zip
accelerating the feeds page
Diffstat (limited to 'tests/controllers/article.py')
-rw-r--r--tests/controllers/article.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/controllers/article.py b/tests/controllers/article.py
index 5e873694..5a54e0b7 100644
--- a/tests/controllers/article.py
+++ b/tests/controllers/article.py
@@ -23,9 +23,9 @@ class ArticleControllerTest(BasePyaggTest):
def test_article_get_unread(self):
self.assertEquals({1: 3, 2: 3, 3: 3},
- ArticleController(2).get_unread())
+ ArticleController(2).count_by_feed(readed=False))
self.assertEquals({4: 3, 5: 3, 6: 3},
- ArticleController(3).get_unread())
+ ArticleController(3).count_by_feed(readed=False))
def test_create_using_filters(self):
feed_ctr = FeedController(2)
bgstack15