@@ -2493,7 +2493,7 @@ async def test_1(self):
2493
2493
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2494
2494
)
2495
2495
)
2496
- doc = anext (
2496
+ doc = await anext (
2497
2497
await self .encrypted_client .db .csfle .aggregate (
2498
2498
[
2499
2499
{"$match" : {"csfle" : "csfle" }},
@@ -2522,7 +2522,7 @@ async def test_2(self):
2522
2522
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2523
2523
)
2524
2524
)
2525
- doc = anext (
2525
+ doc = await anext (
2526
2526
await self .encrypted_client .db .qe .aggregate (
2527
2527
[
2528
2528
{"$match" : {"qe" : "qe" }},
@@ -2551,7 +2551,7 @@ async def test_3(self):
2551
2551
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2552
2552
)
2553
2553
)
2554
- doc = anext (
2554
+ doc = await anext (
2555
2555
await self .encrypted_client .db .no_schema .aggregate (
2556
2556
[
2557
2557
{"$match" : {"no_schema" : "no_schema" }},
@@ -2577,7 +2577,7 @@ async def test_4(self):
2577
2577
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2578
2578
)
2579
2579
)
2580
- doc = anext (
2580
+ doc = await anext (
2581
2581
await self .encrypted_client .db .no_schema .aggregate (
2582
2582
[
2583
2583
{"$match" : {"no_schema" : "no_schema" }},
@@ -2606,7 +2606,7 @@ async def test_5(self):
2606
2606
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2607
2607
)
2608
2608
)
2609
- doc = anext (
2609
+ doc = await anext (
2610
2610
await self .encrypted_client .db .csfle .aggregate (
2611
2611
[
2612
2612
{"$match" : {"csfle" : "csfle" }},
@@ -2635,7 +2635,7 @@ async def test_6(self):
2635
2635
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2636
2636
)
2637
2637
)
2638
- doc = anext (
2638
+ doc = await anext (
2639
2639
await self .encrypted_client .db .qe .aggregate (
2640
2640
[
2641
2641
{"$match" : {"qe" : "qe" }},
@@ -2664,7 +2664,7 @@ async def test_7(self):
2664
2664
kms_providers = {"local" : {"key" : LOCAL_MASTER_KEY }},
2665
2665
)
2666
2666
)
2667
- doc = anext (
2667
+ doc = await anext (
2668
2668
await self .encrypted_client .db .no_schema .aggregate (
2669
2669
[
2670
2670
{"$match" : {"no_schema" : "no_schema" }},
@@ -2695,7 +2695,7 @@ async def test_8(self):
2695
2695
)
2696
2696
# not sure if this is the right error!
2697
2697
with self .assertRaises (PyMongoError ) as exc :
2698
- _ = anext (
2698
+ _ = await anext (
2699
2699
await self .encrypted_client .db .no_schema .aggregate (
2700
2700
[
2701
2701
{"$match" : {"no_schema" : "no_schema" }},
@@ -2727,7 +2727,7 @@ async def test_9(self):
2727
2727
)
2728
2728
# not sure if this is the right error!
2729
2729
with self .assertRaises (PyMongoError ) as exc :
2730
- _ = anext (
2730
+ _ = await anext (
2731
2731
await self .encrypted_client .db .csfle .aggregate (
2732
2732
[
2733
2733
{"$match" : {"csfle" : "csfle" }},
0 commit comments