Skip to content

Commit

Permalink
Unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidysymons committed Jan 7, 2025
1 parent 3bffcc8 commit 200586c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions microsetta_private_api/admin/tests/test_admin_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def test_get_daklapack_articles_not_retired(self):
with Transaction() as t:
admin_repo = AdminRepo(t)
articles = admin_repo.get_daklapack_articles()
self.assertEqual(8, len(articles))
self.assertEqual(9, len(articles))
first_article = articles[0]
first_article.pop("dak_article_id")
self.assertEqual(FIRST_LIVE_DAK_ARTICLE, first_article)
Expand All @@ -1216,7 +1216,7 @@ def test_get_daklapack_articles_all(self):
with Transaction() as t:
admin_repo = AdminRepo(t)
articles = admin_repo.get_daklapack_articles(include_retired=True)
self.assertEqual(24, len(articles))
self.assertEqual(25, len(articles))
first_article = articles[0]
first_article.pop("dak_article_id")
self.assertEqual(FIRST_DAK_ARTICLE, first_article)
Expand Down

0 comments on commit 200586c

Please sign in to comment.