Skip to content

Commit

Permalink
Update test_queries.py
Browse files Browse the repository at this point in the history
Correct expected number of news
  • Loading branch information
johausmann authored Oct 27, 2023
1 parent 28c45c5 commit 9d60766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion covigator/tests/unit_tests/test_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,5 +307,5 @@ def test_get_news(self):
NewsSection(message_text="bla4", message_type=NewsType.RELEASE.name)]
self.session.add_all(test_news_section)
news = self.queries.get_top_news()
self.assertEqual(news.shape[0], 0)
self.assertEqual(news.shape[0], 3)

0 comments on commit 9d60766

Please sign in to comment.