Merge pull request #969 from Duarte-Figueiredo/fix-build

Fixed typo in 'today' that is currently breaking the tests
This commit is contained in:
tobi-wan-kenobi 2023-05-06 12:45:19 +02:00 committed by GitHub
commit c0526f2775
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):