Skip to content

Commit

Permalink
chg: [tests] Now that it works, lets add more tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Jul 26, 2024
1 parent 784ea67 commit 46775e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def test_get_comments(self) -> None:
comments = self.client.get_comments()
self.assertTrue("metadata" in comments)
self.assertTrue("data" in comments)
# self.assertTrue(len(comments['data']) == 0)
# self.assertEqual(comments['metadata']['count'], 0)
self.assertTrue(len(comments['data']) == 0)
self.assertEqual(comments['metadata']['count'], 0)

comment = {
"uuid": "a309d024-2714-4a81-a425-60f83f6d5740",
Expand Down Expand Up @@ -127,8 +127,8 @@ def test_get_bundles(self) -> None:
bundles = self.client.get_bundles()
self.assertTrue("metadata" in bundles)
self.assertTrue("data" in bundles)
# self.assertTrue(len(bundles['data']) == 0)
# self.assertEqual(bundles['metadata']['count'], 0)
self.assertTrue(len(bundles['data']) == 0)
self.assertEqual(bundles['metadata']['count'], 0)

bundle = {
"uuid": "a23cbcad-e890-4df8-8736-9332ed4c3d47",
Expand Down

0 comments on commit 46775e7

Please sign in to comment.