Commit 6a49756a authored by Michael Thies's avatar Michael Thies
Browse files

examples: Fix CouchDB connection config in CouchDB tutorial

parent 668317a9
Pipeline #368938 passed with stages
in 1 minute and 59 seconds
......@@ -48,10 +48,8 @@ import aas.backend.couchdb
# password of a CouchDB user account which is "member" of this database (see above). Alternatively, you can provide
# your CouchDB server's admin credentials.
config = ConfigParser()
config.read([Path(__file__).parent.parent.parent / 'test' / 'test_config.ini',
Path(__file__).parent.parent.parent / 'test' / 'test_config.default.ini'])
print(Path(__file__).parent.parent / 'test' / 'test_config.ini')
config.read([Path(__file__).parent.parent.parent / 'test' / 'test_config.default.ini',
Path(__file__).parent.parent.parent / 'test' / 'test_config.ini'])
couchdb_url = config['couchdb']['url']
couchdb_database = config['couchdb']['database']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment