Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(mosquitto): module name #740

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/mosquitto/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. autoclass:: testcontainers.mosquitto.MosquittoContainer
.. title:: testcontainers.mosquitto.MosquittoContainer
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MosquittoContainer(DockerContainer):

.. doctest::

>>> from testcontainers.mqtt import MosquittoContainer
>>> from testcontainers.mosquitto import MosquittoContainer

>>> with MosquittoContainer() as mosquitto_broker:
... mqtt_client = mosquitto_broker.get_client()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from testcontainers.mqtt import MosquittoContainer
from testcontainers.mosquitto import MosquittoContainer

VERSIONS = ["1.6.15", "2.0.18"]

Expand Down
2 changes: 0 additions & 2 deletions modules/mqtt/README.rst

This file was deleted.

5 changes: 3 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ packages = [
{ include = "testcontainers", from = "modules/minio" },
{ include = "testcontainers", from = "modules/milvus" },
{ include = "testcontainers", from = "modules/mongodb" },
{ include = "testcontainers", from = "modules/mqtt" },
{ include = "testcontainers", from = "modules/mosquitto" },
{ include = "testcontainers", from = "modules/mssql" },
{ include = "testcontainers", from = "modules/mysql" },
{ include = "testcontainers", from = "modules/nats" },
Expand Down Expand Up @@ -143,7 +143,7 @@ memcached = []
minio = ["minio"]
milvus = []
mongodb = ["pymongo"]
mqtt = []
mosquitto = []
mssql = ["sqlalchemy", "pymssql"]
mysql = ["sqlalchemy", "pymysql"]
nats = ["nats-py"]
Expand Down