Merge pull request #969 from Duarte-Figueiredo/fix-build
Fixed typo in 'today' that is currently breaking the tests
This commit is contained in:
commit
c0526f2775
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class TestWakatimeUnit(TestCase):
|
||||||
module.update()
|
module.update()
|
||||||
assert module.widgets()[0].full_text() == "3:02"
|
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())
|
@mock.patch.object(Session, "get", return_value=mock_summaries_api_response())
|
||||||
def test_custom_configs(self, mock_get):
|
def test_custom_configs(self, mock_get):
|
||||||
|
|
Loading…
Reference in a new issue