Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
devfle committed Oct 11, 2023
1 parent 177907e commit 0912c12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_readme_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ def test_calc_current_ep(self, mock_fetch_user_data):
"""Tests the ep calc"""
mock_fetch_user_data.return_value = {
"totalContributions": 120,
"totalFollowers": 12
"totalFollowers": 12,
"totalRepositories": 5
}

readme_instance: ReadmeLevel = ReadmeLevel()
readme_instance.calc_current_ep()
self.assertEqual(readme_instance.current_ep, 2700)
self.assertEqual(readme_instance.current_ep, 2725)


if __name__ == '__main__':
Expand Down

0 comments on commit 0912c12

Please sign in to comment.