Skip to content

Commit 1eba242

Browse files
author
DanielePalaia
committed
adding basic test
1 parent 5c17743 commit 1eba242

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/build-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
env:
2424
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS: "-rabbitmq_stream advertised_host localhost"
2525
ports:
26-
- 5552:5552
26+
- 5672:5672
2727
- 15672:15672
2828
steps:
2929
- uses: actions/checkout@v2

tests/__init__.py

Whitespace-only changes.

tests/test_connection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from proton.utils import BlockingConnection
2+
3+
4+
def test_connection() -> None:
5+
BlockingConnection("amqp://guest:guest@localhost:5672/")

0 commit comments

Comments
 (0)