File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed
Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -2696,24 +2696,20 @@ async def test_8(self):
26962696 # not sure if this is the right error!
26972697 with self .assertRaises (PyMongoError ) as exc :
26982698 _ = await anext (
2699- await self .encrypted_client .db .no_schema .aggregate (
2699+ await self .encrypted_client .db .csfle .aggregate (
27002700 [
2701- {"$match" : {"no_schema " : "no_schema " }},
2701+ {"$match" : {"csfle " : "qe " }},
27022702 {
27032703 "$lookup" : {
2704- "from" : "no_schema2 " ,
2704+ "from" : "qe " ,
27052705 "as" : "matched" ,
2706- "pipeline" : [
2707- {"$match" : {"no_schema2" : "no_schema2" }},
2708- {"$project" : {"_id" : 0 }},
2709- ],
2706+ "pipeline" : [{"$match" : {"qe" : "qe" }}, {"$project" : {"_id" : 0 }}],
27102707 }
27112708 },
27122709 {"$project" : {"_id" : 0 }},
27132710 ]
27142711 )
27152712 )
2716- # check that the exc contains the substring not supported
27172713 self .assertTrue ("not supported" in str (exc ))
27182714
27192715 # Test requires mongocryptd/crypt_shared <8.1.
@@ -2745,7 +2741,6 @@ async def test_9(self):
27452741 ]
27462742 )
27472743 )
2748- # check that the exc contains the substring Upgrade
27492744 self .assertTrue ("Upgrade" in str (exc ))
27502745
27512746
Original file line number Diff line number Diff line change @@ -2680,24 +2680,20 @@ def test_8(self):
26802680 # not sure if this is the right error!
26812681 with self .assertRaises (PyMongoError ) as exc :
26822682 _ = next (
2683- self .encrypted_client .db .no_schema .aggregate (
2683+ self .encrypted_client .db .csfle .aggregate (
26842684 [
2685- {"$match" : {"no_schema " : "no_schema " }},
2685+ {"$match" : {"csfle " : "qe " }},
26862686 {
26872687 "$lookup" : {
2688- "from" : "no_schema2 " ,
2688+ "from" : "qe " ,
26892689 "as" : "matched" ,
2690- "pipeline" : [
2691- {"$match" : {"no_schema2" : "no_schema2" }},
2692- {"$project" : {"_id" : 0 }},
2693- ],
2690+ "pipeline" : [{"$match" : {"qe" : "qe" }}, {"$project" : {"_id" : 0 }}],
26942691 }
26952692 },
26962693 {"$project" : {"_id" : 0 }},
26972694 ]
26982695 )
26992696 )
2700- # check that the exc contains the substring not supported
27012697 self .assertTrue ("not supported" in str (exc ))
27022698
27032699 # Test requires mongocryptd/crypt_shared <8.1.
@@ -2729,7 +2725,6 @@ def test_9(self):
27292725 ]
27302726 )
27312727 )
2732- # check that the exc contains the substring Upgrade
27332728 self .assertTrue ("Upgrade" in str (exc ))
27342729
27352730
You can’t perform that action at this time.
0 commit comments