We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e8fc8 commit baf546eCopy full SHA for baf546e
1 file changed
tests/test_dummy_live.py
@@ -5,5 +5,11 @@
5
6
@pytest.mark.integration
7
def test_dummy_ping_live():
8
+ """Integration test: requires a running server on localhost:8000."""
9
r = requests.post("http://127.0.0.1:8000/plugins/dummy/ping", json={"hello": "world"})
10
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