add missing test config file
This commit is contained in:
parent
dd11fb9105
commit
8bbfd775dd
4 changed files with 21 additions and 3 deletions
18
tests/samples/configs/has_ssl_verify_disabled.cfg
Normal file
18
tests/samples/configs/has_ssl_verify_disabled.cfg
Normal 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
|
|
@ -31,7 +31,7 @@ except ImportError:
|
|||
from unittest.mock import ANY, call
|
||||
|
||||
|
||||
class MainTestCase(utils.TestCase):
|
||||
class ArgumentsTestCase(utils.TestCase):
|
||||
patch_these = [
|
||||
'wakatime.packages.requests.adapters.HTTPAdapter.send',
|
||||
'wakatime.offlinequeue.Queue.push',
|
||||
|
|
|
@ -32,7 +32,7 @@ except ImportError:
|
|||
from unittest.mock import ANY
|
||||
|
||||
|
||||
class MainTestCase(utils.TestCase):
|
||||
class ConfigsTestCase(utils.TestCase):
|
||||
patch_these = [
|
||||
'wakatime.packages.requests.adapters.HTTPAdapter.send',
|
||||
'wakatime.offlinequeue.Queue.push',
|
||||
|
|
|
@ -20,7 +20,7 @@ except ImportError:
|
|||
from unittest.mock import ANY
|
||||
|
||||
|
||||
class MainTestCase(utils.TestCase):
|
||||
class ProxyTestCase(utils.TestCase):
|
||||
patch_these = [
|
||||
'wakatime.packages.requests.adapters.HTTPAdapter.send',
|
||||
'wakatime.offlinequeue.Queue.push',
|
||||
|
|
Loading…
Reference in a new issue