add missing test config file

This commit is contained in:
Alan Hamlett 2017-05-05 17:23:26 -07:00
parent dd11fb9105
commit 8bbfd775dd
4 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,18 @@
[settings]
verbose = true
api_key = d491a956-c8f2-44a9-98a7-987814bd71ba
logfile = /tmp/waka
hidefilenames = true
exclude =
^COMMIT_EDITMSG$
^TAG_EDITMSG$
^/var/
^/etc/
include =
.*
offline = false
proxy = https://user:pass@localhost:8080
no_ssl_verify = true
timeout = abc
api_url = https://localhost:0/api/v1/heartbeats
hostname = fromcfgfile

View file

@ -31,7 +31,7 @@ except ImportError:
from unittest.mock import ANY, call from unittest.mock import ANY, call
class MainTestCase(utils.TestCase): class ArgumentsTestCase(utils.TestCase):
patch_these = [ patch_these = [
'wakatime.packages.requests.adapters.HTTPAdapter.send', 'wakatime.packages.requests.adapters.HTTPAdapter.send',
'wakatime.offlinequeue.Queue.push', 'wakatime.offlinequeue.Queue.push',

View file

@ -32,7 +32,7 @@ except ImportError:
from unittest.mock import ANY from unittest.mock import ANY
class MainTestCase(utils.TestCase): class ConfigsTestCase(utils.TestCase):
patch_these = [ patch_these = [
'wakatime.packages.requests.adapters.HTTPAdapter.send', 'wakatime.packages.requests.adapters.HTTPAdapter.send',
'wakatime.offlinequeue.Queue.push', 'wakatime.offlinequeue.Queue.push',

View file

@ -20,7 +20,7 @@ except ImportError:
from unittest.mock import ANY from unittest.mock import ANY
class MainTestCase(utils.TestCase): class ProxyTestCase(utils.TestCase):
patch_these = [ patch_these = [
'wakatime.packages.requests.adapters.HTTPAdapter.send', 'wakatime.packages.requests.adapters.HTTPAdapter.send',
'wakatime.offlinequeue.Queue.push', 'wakatime.offlinequeue.Queue.push',