File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
tests/storage/servers/fastmail Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
class ServerMixin :
7
7
@pytest .fixture
8
- def get_storage_args (self , item_type , slow_create_collection ):
8
+ def get_storage_args (self , item_type , slow_create_collection , aio_connector ):
9
9
if item_type == "VTODO" :
10
10
# Fastmail has non-standard support for TODOs
11
11
# See https://github.com/pimutils/vdirsyncer/issues/824
@@ -15,6 +15,7 @@ async def inner(collection="test"):
15
15
args = {
16
16
"username" : os .environ ["FASTMAIL_USERNAME" ],
17
17
"password" : os .environ ["FASTMAIL_PASSWORD" ],
18
+ "connector" : aio_connector ,
18
19
}
19
20
20
21
if self .storage_class .fileext == ".ics" :
@@ -25,7 +26,12 @@ async def inner(collection="test"):
25
26
raise RuntimeError ()
26
27
27
28
if collection is not None :
28
- args = slow_create_collection (self .storage_class , args , collection )
29
+ args = await slow_create_collection (
30
+ self .storage_class ,
31
+ args ,
32
+ collection ,
33
+ )
34
+
29
35
return args
30
36
31
37
return inner
You can’t perform that action at this time.
0 commit comments