Skip to content

Commit

Permalink
added mongodb:// to authenticated host uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Schneider committed Jul 8, 2016
1 parent 59419c5 commit 474e557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MongoDBLibrary/mongo_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def connect_to_mongodb(self, dbHost='localhost', dbPort=27017, dbMaxPoolSize=10,
Example usage:
| # To connect to foo.bar.org's MongoDB service on port 27017 |
| Connect To MongoDB | foo.bar.org | ${27017} |
| # Or for an authenticated connection |
| Connect To MongoDB | admin:admin@foo.bar.org | ${27017} |
| # Or for an authenticated connection, note addtion of "mongodb://" to host uri |
| Connect To MongoDB | mongodb://admin:admin@foo.bar.org | ${27017} |
"""
dbapiModuleName = 'pymongo'
Expand Down

0 comments on commit 474e557

Please sign in to comment.