PYTHON-5237 Relax requirement for optional fields for sessions unified tests (#2435)

This commit is contained in:
Steven Silvester 2025-07-15 20:26:29 -05:00 committed by GitHub
parent 71514b5989
commit 36bb704c76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 52 deletions

View File

@ -1,48 +0,0 @@
diff --git a/test/sessions/driver-sessions-dirty-session-errors.json b/test/sessions/driver-sessions-dirty-session-errors.json
index 6aa1da1d..d7a1c6ab 100644
--- a/test/sessions/driver-sessions-dirty-session-errors.json
+++ b/test/sessions/driver-sessions-dirty-session-errors.json
@@ -347,7 +347,9 @@
"x": 1
}
},
- "new": false,
+ "new": {
+ "$$unsetOrMatches": false
+ },
"lsid": {
"$$sessionLsid": "session0"
},
@@ -375,7 +377,9 @@
"x": 1
}
},
- "new": false,
+ "new": {
+ "$$unsetOrMatches": false
+ },
"lsid": {
"$$sessionLsid": "session0"
},
@@ -627,7 +631,9 @@
"x": 1
}
},
- "new": false,
+ "new": {
+ "$$unsetOrMatches": false
+ },
"lsid": {
"$$type": "object"
},
@@ -655,7 +661,9 @@
"x": 1
}
},
- "new": false,
+ "new": {
+ "$$unsetOrMatches": false
+ },
"lsid": {
"$$type": "object"
},

View File

@ -347,7 +347,9 @@
"x": 1
}
},
"new": false,
"new": {
"$$unsetOrMatches": false
},
"lsid": {
"$$sessionLsid": "session0"
},
@ -375,7 +377,9 @@
"x": 1
}
},
"new": false,
"new": {
"$$unsetOrMatches": false
},
"lsid": {
"$$sessionLsid": "session0"
},
@ -627,7 +631,9 @@
"x": 1
}
},
"new": false,
"new": {
"$$unsetOrMatches": false
},
"lsid": {
"$$type": "object"
},
@ -655,7 +661,9 @@
"x": 1
}
},
"new": false,
"new": {
"$$unsetOrMatches": false
},
"lsid": {
"$$type": "object"
},