aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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