Skip to content

Commit baf546e

Browse files
committed
a333
1 parent a4e8fc8 commit baf546e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_dummy_live.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@
55

66
@pytest.mark.integration
77
def test_dummy_ping_live():
8+
"""Integration test: requires a running server on localhost:8000."""
89
r = requests.post("http://127.0.0.1:8000/plugins/dummy/ping", json={"hello": "world"})
910
assert r.status_code == 200
11+
12+
data = r.json()
13+
assert data["plugin"] == "dummy"
14+
assert data["result"]["task"] == "ping"
15+
assert data["result"]["payload_received"]["hello"] == "world"

0 commit comments

Comments
 (0)