Skip to content

Commit

Permalink
Updated the comunio test class
Browse files Browse the repository at this point in the history
  • Loading branch information
bierschi committed May 3, 2020
1 parent 77ce601 commit 7b9627c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ComunioScore/test/test_comunio.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ def test_get_get_community_name(self):
def test_get_wealth(self):

user_id = self.comunio.get_user_id()
wealth = self.comunio.get_wealth(userid=user_id)
wealth_data = self.comunio.get_wealth(userid=user_id)
wealth = wealth_data[0]
# check if wealth is int (if no budget available, then wealth is None)
if wealth is None:
self.assertIsNone(wealth, msg="wealth must be of type None")
Expand Down

0 comments on commit 7b9627c

Please sign in to comment.