Skip to content

Commit

Permalink
Update test_queries.py
Browse files Browse the repository at this point in the history
  • Loading branch information
johausmann authored Oct 26, 2023
1 parent b2f03c7 commit fc568f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions covigator/tests/unit_tests/test_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,5 +298,5 @@ def test_get_news(self):
self.session.commit()
news = self.queries.get_top_news()
self.assertGreater(news.shape[0], 0)
self.assertTrue(news.message_text == "bla")
self.assertTrue(news.message_type == NewsType.RELEASE.name)
self.assertTrue(news.message_text.loc[0] == "bla")
self.assertTrue(news.message_type.loc[0] == NewsType.RELEASE.name)

0 comments on commit fc568f2

Please sign in to comment.