mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
parent
130c9248ba
commit
d24f3835ef
4 changed files with 5 additions and 4 deletions
3
Makefile
3
Makefile
|
|
@ -41,7 +41,8 @@ install-style:
|
|||
|
||||
style:
|
||||
flake8
|
||||
! grep -ri syncroniz */*
|
||||
! git grep -i syncroniz */*
|
||||
! git grep -i 'text/icalendar' */*
|
||||
sphinx-build -W -b html ./docs/ ./docs/_build/html/
|
||||
python3 scripts/make_travisconf.py | diff -b .travis.yml -
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ def test_list(monkeypatch):
|
|||
r.status_code = 200
|
||||
assert responses
|
||||
r._content = responses.pop().encode('utf-8')
|
||||
r.headers['Content-Type'] = 'text/icalendar'
|
||||
r.headers['Content-Type'] = 'text/calendar'
|
||||
r.encoding = 'ISO-8859-1'
|
||||
return r
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class TestHttpStorage(StorageTests):
|
|||
except IOError:
|
||||
r._content = b''
|
||||
|
||||
r.headers['Content-Type'] = 'text/icalendar'
|
||||
r.headers['Content-Type'] = 'text/calendar'
|
||||
r.encoding = 'utf-8'
|
||||
return r
|
||||
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ class RemoteStorageCalendars(RemoteStorage):
|
|||
|
||||
storage_name = 'remotestorage_calendars'
|
||||
fileext = '.ics'
|
||||
item_mimetype = 'text/icalendar'
|
||||
item_mimetype = 'text/calendar'
|
||||
scope = 'vdir_calendars'
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
|
|||
Loading…
Reference in a new issue