From 6b4898017f00aa373da6b2e5e053eb21832ec9c8 Mon Sep 17 00:00:00 2001 From: Duarte Figueiredo Date: Sat, 6 May 2023 11:20:45 +0100 Subject: [PATCH] Fixed typo in 'today' that is currently breaking the tests --- tests/modules/contrib/test_wakatime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modules/contrib/test_wakatime.py b/tests/modules/contrib/test_wakatime.py index b76165c..9ee062e 100644 --- a/tests/modules/contrib/test_wakatime.py +++ b/tests/modules/contrib/test_wakatime.py @@ -45,7 +45,7 @@ class TestWakatimeUnit(TestCase): module.update() assert module.widgets()[0].full_text() == "3:02" - mock_get.assert_called_with('https://wakatime.com/api/v1/users/current/summaries?range=today') + mock_get.assert_called_with('https://wakatime.com/api/v1/users/current/summaries?range=Today') @mock.patch.object(Session, "get", return_value=mock_summaries_api_response()) def test_custom_configs(self, mock_get):