Commit graph

29 commits

Author SHA1 Message Date
Alan Hamlett
ae834f679f Support language argument for non file types 2018-12-05 21:32:53 -08:00
Alan Hamlett
a1369a2b00 send 50 offline heartbeats per request with one second delay in between 2018-10-04 23:59:34 -07:00
Alan Hamlett
c7434cb75b fix tests on windows 2018-09-30 19:53:52 -07:00
Alan Hamlett
b488cd537c send batches of at most 10 heartbeats to api 2018-09-20 10:14:25 -07:00
Alan Hamlett
4c7b49a28c Expect bulk results under responses key 2017-11-24 16:10:15 -08:00
Alan Hamlett
75aebc5b24 test exceptions handled on commit and close 2017-11-23 10:00:01 -08:00
Alan Hamlett
40c8a53019 handle null extra heartbeats 2017-11-23 09:25:30 -08:00
Alan Hamlett
8269196c88 improve test coverage for parsing api bulk results 2017-11-22 18:54:47 -08:00
Alan Hamlett
9ffb677f9d Make sure any leftover heartbeats not accepted by API are saved 2017-11-22 18:34:15 -08:00
Alan Hamlett
019b97dfe7 remove unused test 2017-11-22 13:19:39 -08:00
Alan Hamlett
7b09f8f0c6 support unicode heartbeats in offline cache 2017-11-22 12:58:29 -08:00
Alan Hamlett
cbd67fb73c parse response from bulk endpoint, only saving unsent heartbeats to offline cache 2017-11-09 09:03:27 -08:00
Alan Hamlett
4a0dd27d25 enable bulk api endpoint 2017-11-08 22:54:33 -08:00
Alan Hamlett
6cd300a30b use WAKATIME_HOME env variable for session and offline caching 2017-10-29 11:16:23 -07:00
Alan Hamlett
ccf5e39f44 only use NTLM proxy after trying non-NTLM proxy 2017-05-24 22:54:58 -07:00
Alan Hamlett
9da0163c1a wrap NamedTemporaryFile for Windows testing support 2017-05-21 15:58:48 -07:00
Alan Hamlett
666f29147e test 500 error when sending offline heartbeats 2016-09-01 00:08:21 +02:00
Alan Hamlett
c20fa5c39b auth error on last offline heartbeat 2016-08-31 23:22:50 +02:00
Alan Hamlett
9c5b31ce04 improve test coverage for main module 2016-08-31 22:37:02 +02:00
Alan Hamlett
b6f2ca548a upgrade python packages to latest versions 2016-08-31 12:23:38 +02:00
Alan Hamlett
59871a8bd9 test that multiple executions don't overwrite projects 2016-07-28 09:00:58 +02:00
Alan Hamlett
5bf2c063a5 test for non-ascii filenames 2016-07-20 20:32:08 +02:00
Alan Hamlett
a5933aa2a7 handle unknown exceptions from requests library by deleting cached session object 2016-07-06 23:07:55 +02:00
Alan Hamlett
75aa9a2994 test config file parsing with more config options 2015-09-29 22:34:14 -07:00
Alan Hamlett
d6faae47d0 better test coverage for offline queue 2015-09-27 03:32:28 -07:00
Alan Hamlett
db02b82d95 remove temp sqlite file after testing. improve offlinequeue and session_cache tests. 2015-09-27 03:17:54 -07:00
Alan Hamlett
032bd99d97 use txt file extension for tempfile 2015-09-08 15:56:06 -07:00
Alan Hamlett
9884eea311 test bower dependencies 2015-09-08 15:48:28 -07:00
Alan Hamlett
0d1c95cf9c remove redundant wakatime from test file names 2015-09-08 14:15:35 -07:00
Renamed from tests/test_wakatime_offlinequeue.py (Browse further)