Skip to content

Commit b81aaea

Browse files
author
Len Buckens
committed
fix failing test
1 parent a85670d commit b81aaea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_json_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ def test_connection_kwargs_with_false_values(self):
7979
app.config['MONGODB_SETTINGS'] = {
8080
'DB': 'testing',
8181
'alias': 'test',
82-
'ssl_validate_hostname': False
82+
'use_greenlets': False
8383
}
8484
app.config['TESTING'] = True
8585
db = MongoEngine()
8686
db.init_app(app)
87-
self.assertFalse(db.connection.ssl_validate_hostname)
87+
self.assertFalse(db.connection.use_greenlets)
8888

8989
def test_with_id(self):
9090
c = self.app.test_client()

0 commit comments

Comments
 (0)