Markus Unterwaditzer
3bb6662e8e
Add testcase
2014-09-09 17:48:36 +02:00
Markus Unterwaditzer
9e12e29db6
Properly deal with invalid filename characters
...
Fix #110
2014-09-03 20:35:31 +02:00
Markus Unterwaditzer
3d39526531
Allow file arg on netrc mock
...
On my machine, requests is trying to access it for some reason
2014-09-03 19:13:20 +02:00
Markus Unterwaditzer
686441b5ab
Merge pull request #106 from untitaker/tls_fingerprints
...
TLS fingerprints (2.1)
2014-08-30 18:59:26 +02:00
Markus Unterwaditzer
0bc03666ba
Fix dead doubleclick testcase
...
click.CliRunner swallowed all exceptions, also AssertionError
2014-08-30 17:06:01 +02:00
Thomas Weißschuh
fa2f7ca540
always serve something, else werkzeug blows up
2014-08-29 18:44:23 +00:00
Markus Unterwaditzer
c7e6acc0ba
Rewrite get_password
...
Only fetching by hostname, no bruteforce algorithm for system keyring
2014-08-22 20:06:37 +02:00
Markus Unterwaditzer
f5a701a920
Create global context
2014-08-22 13:06:22 +02:00
Markus Unterwaditzer
b093989220
Refine testcase again
2014-08-21 01:26:00 +02:00
Markus Unterwaditzer
63c990a320
Properly remove monkeypatching in radicale tests
2014-08-21 00:56:13 +02:00
Markus Unterwaditzer
b909d525f8
Fix broken testcase
2014-08-21 00:51:25 +02:00
Markus Unterwaditzer
e8e55de165
Add some tests
2014-08-21 00:26:48 +02:00
Markus Unterwaditzer
5509868958
Revert "Revert "Tls fingerprints""
2014-08-20 18:43:34 +02:00
Markus Unterwaditzer
c86ad88c96
Revert "Tls fingerprints"
2014-08-20 18:38:59 +02:00
Markus Unterwaditzer
73b8381ab8
Merge pull request #102 from t-8ch/tls_fingerprints
...
Tls fingerprints
Fix #100
2014-08-18 23:51:23 +02:00
Thomas Weißschuh
d5e8be4979
[tests] directly monkeypatch requests Session
...
need for later changes
2014-08-18 19:11:07 +00:00
Markus Unterwaditzer
bb4939bfdb
Validate general section.
...
Fix #100
2014-08-18 18:33:58 +02:00
Markus Unterwaditzer
8ea3b82c50
Add assertion for CLI output
2014-08-18 01:03:34 +02:00
Markus Unterwaditzer
1fff7efff5
Use name from config for representing storages
2014-08-18 00:53:05 +02:00
Markus Unterwaditzer
2fd4aaead3
Add tests for prepare_auth
2014-08-15 18:29:11 +02:00
Markus Unterwaditzer
2e2082fb55
Make _create_bogus_item a fixture.
...
Also rename the "storage" fixture to "get_storage".
2014-08-06 22:03:30 +02:00
Markus Unterwaditzer
eb1431e5db
Fix all known URL-quoting problems
...
- Fix #49 -- The old fix caused problems with other servers. The new
behavior only decodes ``@`` characters.
- ``@`` is now not used when generating a new href, as some servers seem
to have problems with it (http://sabre.io/dav/character-encoding/ ).
This behavior is configurable via the ``unsafe_href_chars`` parameters
for DAV storages, and is disabled in the testsuite for Radicale and
ownCloud.
- Decoding of hrefs is also done twice for CarddavStorage.list because
of owncloud/contacts#581 . Vdirsyncer has behaved like that before, but
not intentionally.
- Storages now don't share their ``_get_href`` methods anymore.
2014-08-06 16:43:23 +02:00
Markus Unterwaditzer
574869f619
ownCloud 7 now does If-Match headers right
2014-07-23 14:21:10 +02:00
Markus Unterwaditzer
838e816a65
Don't influence user's homedir
2014-07-23 12:21:03 +02:00
Markus Unterwaditzer
0f44645e78
Formatting and string type fixes
2014-07-14 15:32:59 +02:00
Markus Unterwaditzer
e2fa26a711
Add another test related to vcards vs icalendar
2014-07-14 15:15:50 +02:00
Markus Unterwaditzer
dea468fcaa
Xfail vcard group test
2014-07-13 19:28:14 +02:00
Markus Unterwaditzer
c8f97b43ec
Add testcase for #89
2014-07-13 19:11:06 +02:00
Markus Unterwaditzer
a79d1ddb52
Indent multiline string.
2014-07-13 18:35:08 +02:00
Markus Unterwaditzer
c750561fb8
Use more fixtures
2014-07-06 23:22:02 +02:00
Markus Unterwaditzer
97a428f3c8
Add new testcase
2014-07-06 20:43:59 +02:00
Markus Unterwaditzer
7bbc8b87da
Some smaller changes to testsuite
2014-07-06 20:28:48 +02:00
Markus Unterwaditzer
0dfcefbfd3
Use PROPFIND for carddav queries because of Zimbra
...
Fix #83
Fix #84
2014-07-05 14:09:30 +02:00
Markus Unterwaditzer
3abebde87f
Fix logging in test suite
2014-07-05 01:07:23 +02:00
Markus Unterwaditzer
6a63dcec81
Fix bug for --verbosity setting
2014-06-25 15:29:13 +02:00
Markus Unterwaditzer
8f5f7eea76
Style fixes
2014-06-22 00:48:57 +02:00
Markus Unterwaditzer
96aae16c32
Fix typo induced bug in split_collection
2014-06-22 00:21:29 +02:00
Markus Unterwaditzer
2fb58d6bcd
Fix bug in keyring fetching code
...
Leading to infinite loop when the password is simply not there.
Also fixed some import styling again
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
289ac2cfac
More tests
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
a6e2f23bbc
Catch exceptions with decorator
...
This allows us to validate the exact output in the tests
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
65a845c7ca
Add one more test
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
e9722ee63d
Add test for simple usage
2014-06-19 18:14:51 +02:00
Markus Unterwaditzer
d98c4b37ba
Cheap shots for test coverage
2014-06-19 18:13:45 +02:00
Markus Unterwaditzer
201c840e88
Import beautification
2014-06-19 00:07:54 +02:00
Markus Unterwaditzer
77a8cf8ff7
Fix logic
2014-06-15 12:07:22 +02:00
Markus Unterwaditzer
fadff19752
Make CaldavStorage.list faster
2014-06-15 11:15:13 +02:00
Markus Unterwaditzer
11adeaff86
split_collection: Allow multiple wrappers
...
Fix #78
2014-06-14 13:23:22 +02:00
Markus Unterwaditzer
5788544839
Merge pull request #77 from untitaker/readonly
...
Add read_only parameter
2014-06-12 15:46:57 +02:00
Markus Unterwaditzer
fc9ca4177f
Add a test for HttpStorage.read_only
2014-06-12 15:14:36 +02:00
Markus Unterwaditzer
c574e746dd
Split string only once
2014-06-12 14:40:25 +02:00