Skip to content

Commit 9d2ceb6

Browse files
typos (#580)
1 parent 9eabb79 commit 9d2ceb6

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

core/testcontainers/core/labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def create_labels(image: str, labels: Optional[dict[str, str]]) -> dict[str, str
1919
else:
2020
for k in labels:
2121
if k.startswith(TESTCONTAINERS_NAMESPACE):
22-
raise ValueError("The org.testcontainers namespace is reserved for interal use")
22+
raise ValueError("The org.testcontainers namespace is reserved for internal use")
2323

2424
labels[LABEL_LANG] = "python"
2525
labels[LABEL_TESTCONTAINERS] = "true"

modules/arangodb/tests/test_arangodb.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
IMAGE_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

6969
def 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

100100
def test_docker_run_arango_random_root_password():

modules/rabbitmq/tests/test_rabbitmq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_docker_run_rabbitmq(port: Optional[int], username: Optional[str], passw
4242
channel.queue_declare(QUEUE, arguments={})
4343
channel.queue_bind(QUEUE, EXCHANGE, ROUTING_KEY)
4444

45-
# pulish message:
45+
# publish message:
4646
encoded_message = json.dumps(MESSAGE)
4747
channel.basic_publish(EXCHANGE, ROUTING_KEY, body=encoded_message)
4848

modules/weaviate/testcontainers/weaviate/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class WeaviateContainer(DbContainer):
3232
Additional environment variables to include with the container, e.g. ENABLE_MODULES list, QUERY_DEFAULTS_LIMIT setting.
3333
3434
Example:
35-
This example shows how to start Weaviate container with defualt settings.
35+
This example shows how to start Weaviate container with default settings.
3636
3737
.. doctest::
3838
@@ -43,7 +43,7 @@ class WeaviateContainer(DbContainer):
4343
... client.is_live()
4444
True
4545
46-
This example shows how to start Weaviate container with additinal settings.
46+
This example shows how to start Weaviate container with additional settings.
4747
4848
.. doctest::
4949

0 commit comments

Comments
 (0)