Skip to content

Commit

Permalink
assumed default couch.url in config
Browse files Browse the repository at this point in the history
fixed so test updates the couch.url in test server config
  • Loading branch information
jimklo committed Apr 25, 2012
1 parent 8e8d83e commit 861dea9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LR/lr/tests/functional/distribute/lr_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ def _setupPylonsConfig(self):
pylonsConfig.read(_PYLONS_CONFIG)

#Set the couchdb database info
pylonsConfig.set("app:main", "couchdb.url", self._nodeConfig.get("couch_info", "server"))
for database in self._CONFIG_DATABASE_NAMES:
pylonsConfig.set("app:main", "couchdb.db.{0}".format(database),
self._nodeConfig.get("couch_info" , database))
Expand Down

0 comments on commit 861dea9

Please sign in to comment.