Skip to content

Commit 1031b07

Browse files
author
Hugo Osvaldo Barrera
committed
Fix test failures that ONLY happen on master
1 parent b5dd092 commit 1031b07

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
},
6464
{
6565
"env": "BUILD=test-storage DAV_SERVER=fastmail REQUIREMENTS=release ",
66-
"if": "NOT (type IN (pull_request))",
6766
"python": "3.6"
6867
},
6968
{

scripts/make_travisconf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@
6464
if python == '3.5':
6565
job['dist'] = 'trusty'
6666

67-
build_prs = dav_server not in ("fastmail", "davical", "icloud")
68-
if not build_prs:
67+
if dav_server in ("davical", "icloud"):
6968
job['if'] = 'NOT (type IN (pull_request))'
7069

7170
matrix.append(job)

tests/storage/dav/test_caldav.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def request(session, method, url, **kwargs):
133133

134134
@pytest.mark.skipif(dav_server == 'icloud',
135135
reason='iCloud only accepts VEVENT')
136+
@pytest.mark.skipif(dav_server == 'fastmail',
137+
reason='Fastmail has non-standard hadling of VTODOs.')
136138
def test_item_types_general(self, s):
137139
event = s.upload(format_item(EVENT_TEMPLATE))[0]
138140
task = s.upload(format_item(TASK_TEMPLATE))[0]

0 commit comments

Comments
 (0)