Skip to content

Commit 89822f7

Browse files
committed
Rename db_user to username in tests.
1 parent 3c28cdd commit 89822f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arangodb/tests/test_arangodb.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
ARANGODB_IMAGE_NAME = 'arangodb'
1010

1111

12-
def arango_test_ops(arango_client, expeced_version, db_user='root', db_pass=''):
12+
def arango_test_ops(arango_client, expeced_version, username='root', db_pass=''):
1313
"""
1414
Basic ArangoDB operations to test DB really up and running.
1515
"""
1616
students_to_insert_cnt = 3
1717

1818
# Taken from https://github.com/ArangoDB-Community/python-arango/blob/main/README.md
1919
# Connect to "_system" database as root user.
20-
sys_db = arango_client.db("_system", username=db_user, password=db_pass)
20+
sys_db = arango_client.db("_system", username=username, password=db_pass)
2121
assert sys_db.version() == expeced_version
2222

2323
# Create a new database named "test".
2424
sys_db.create_database("test")
2525

2626
# Connect to "test" database as root user.
27-
database = arango_client.db("test", username=db_user, password=db_pass)
27+
database = arango_client.db("test", username=username, password=db_pass)
2828

2929
# Create a new collection named "students".
3030
students = database.create_collection("students")

0 commit comments

Comments
 (0)