summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarren Smith <garren.smith@gmail.com>2020-01-21 13:41:41 +0200
committerGarren Smith <garren.smith@gmail.com>2020-02-13 12:18:45 +0200
commit98d0b72c9073b0cc83877d633e4ed0b92683f931 (patch)
treeb7cf12402bb6bceac3156dd793ebae2aac225f97
parent9ea1454617f7176e978cfe9fa63a1b4f7871532d (diff)
downloadcouchdb-98d0b72c9073b0cc83877d633e4ed0b92683f931.tar.gz
change mango test auth to match elixir
-rw-r--r--src/mango/test/README.md4
-rw-r--r--src/mango/test/mango.py4
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)