From 0912c126976a51645bbcdb7412082d4003f7b2d4 Mon Sep 17 00:00:00 2001 From: devfle <52854338+devfle@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:42:50 +0000 Subject: [PATCH] fix: tests --- tests/test_readme_level.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_readme_level.py b/tests/test_readme_level.py index f0ae226..af7b756 100644 --- a/tests/test_readme_level.py +++ b/tests/test_readme_level.py @@ -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__':