File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 with :
1313 fail : true
1414 args : >-
15- --timeout 10
16- --max-retries 2
17- --exclude 'aardvark.co.nz'
15+ --timeout 20
16+ --max-retries 3
1817 '**/*.md'
1918 '**/*.rst'
Original file line number Diff line number Diff line change @@ -132,6 +132,13 @@ def get_or_create_test_calendar(
132132 calendar = None
133133 created = False
134134
135+ ## First of all, check if the server test config specifies that we
136+ ## should use a dedicated calendar. This can be specified in the features
137+ ## as for now.
138+ test_cal_info = self .expected_features .is_supported ('test-calendar' , return_type = dict )
139+ if 'name' in test_cal_info or 'cal_url' in test .cal_info or 'cal_id' in test .cal_info :
140+ return principal .calendar (** test_cal_info )
141+
135142 # Check if server supports calendar creation via features
136143 supports_create = True
137144 if hasattr (client , "features" ) and client .features :
You can’t perform that action at this time.
0 commit comments