1313IMAGE_VERSION = "3.11.8"
1414
1515
16- def arango_test_ops (arango_client , expeced_version , username = "root" , password = "" ):
16+ def arango_test_ops (arango_client , expected_version , username = "root" , password = "" ):
1717 """
1818 Basic ArangoDB operations to test DB really up and running.
1919 """
@@ -22,7 +22,7 @@ def arango_test_ops(arango_client, expeced_version, username="root", password=""
2222 # Taken from https://github.com/ArangoDB-Community/python-arango/blob/main/README.md
2323 # Connect to "_system" database as root user.
2424 sys_db = arango_client .db ("_system" , username = username , password = password )
25- assert sys_db .version () == expeced_version
25+ assert sys_db .version () == expected_version
2626
2727 # Create a new database named "test".
2828 sys_db .create_database ("test" )
@@ -63,7 +63,7 @@ def test_docker_run_arango():
6363 with pytest .raises (DatabaseCreateError ):
6464 sys_db .create_database ("test" )
6565
66- arango_test_ops (arango_client = client , expeced_version = IMAGE_VERSION , password = arango_root_password )
66+ arango_test_ops (arango_client = client , expected_version = IMAGE_VERSION , password = arango_root_password )
6767
6868
6969def test_docker_run_arango_without_auth ():
@@ -75,7 +75,7 @@ def test_docker_run_arango_without_auth():
7575 with ArangoDbContainer (image , arango_no_auth = True ) as arango :
7676 client = ArangoClient (hosts = arango .get_connection_url ())
7777
78- arango_test_ops (arango_client = client , expeced_version = IMAGE_VERSION , password = "" )
78+ arango_test_ops (arango_client = client , expected_version = IMAGE_VERSION , password = "" )
7979
8080
8181@pytest .mark .skipif (platform .processor () == "arm" , reason = "Test does not run on machines with ARM CPU" )
@@ -94,7 +94,7 @@ def test_docker_run_arango_older_version():
9494 with ArangoDbContainer (image , arango_no_auth = True ) as arango :
9595 client = ArangoClient (hosts = arango .get_connection_url ())
9696
97- arango_test_ops (arango_client = client , expeced_version = image_version , password = "" )
97+ arango_test_ops (arango_client = client , expected_version = image_version , password = "" )
9898
9999
100100def test_docker_run_arango_random_root_password ():
0 commit comments