Skip to content

Commit

Permalink
adding basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielePalaia committed Dec 5, 2024
1 parent 5c17743 commit 1eba242
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
env:
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host localhost"
ports:
- 5552:5552
- 5672:5672
- 15672:15672
steps:
- uses: actions/checkout@v2
Expand Down
Empty file added tests/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions tests/test_connection.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from proton.utils import BlockingConnection


def test_connection() -> None:
BlockingConnection("amqp://guest:guest@localhost:5672/")

0 comments on commit 1eba242

Please sign in to comment.