diff options
author | Garren Smith <garren.smith@gmail.com> | 2020-01-21 13:41:41 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2020-01-27 19:36:58 +0200 |
commit | 8446f15b99460a03df99ecb5e67af31e81c3f284 (patch) | |
tree | d5433c62e0a028c90aeac00cb475fb3e72d1dd77 | |
parent | a03c704a213432ba973e5dd0f02d5cc86b7fc298 (diff) | |
download | couchdb-8446f15b99460a03df99ecb5e67af31e81c3f284.tar.gz |
change mango test auth to match elixir
-rw-r--r-- | src/mango/test/README.md | 4 | ||||
-rw-r--r-- | src/mango/test/mango.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mango/test/README.md b/src/mango/test/README.md index 509e32e47..08693a2e1 100644 --- a/src/mango/test/README.md +++ b/src/mango/test/README.md @@ -23,7 +23,7 @@ Test configuration The following environment variables can be used to configure the test fixtures: * `COUCH_HOST` - root url (including port) of the CouchDB instance to run the tests against. Default is `"http://127.0.0.1:15984"`. - * `COUCH_USER` - CouchDB username (with admin premissions). Default is `"testuser"`. - * `COUCH_PASSWORD` - CouchDB password. Default is `"testpass"`. + * `COUCH_USER` - CouchDB username (with admin premissions). Default is `"adm"`. + * `COUCH_PASSWORD` - CouchDB password. Default is `"pass"`. * `COUCH_AUTH_HEADER` - Optional Authorization header value. If specified, this is used instead of basic authentication with the username/password variables above. * `MANGO_TEXT_INDEXES` - Set to `"1"` to run the tests only applicable to text indexes. diff --git a/src/mango/test/mango.py b/src/mango/test/mango.py index de8a638a8..e8ce2c5c7 100644 --- a/src/mango/test/mango.py +++ b/src/mango/test/mango.py @@ -48,8 +48,8 @@ class Database(object): dbname, host="127.0.0.1", port="15984", - user="testuser", - password="testpass", + user="adm", + password="pass", ): root_url = get_from_environment("COUCH_HOST", "http://{}:{}".format(host, port)) auth_header = get_from_environment("COUCH_AUTH_HEADER", None) |