support/testing: python-requests: new runtime test

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
[Peter: Fix flake8 warning, use http.server instead of relying on
        connectivity]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 425abcd025)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Marcus Hoffmann
2026-02-02 16:01:41 +01:00
committed by Thomas Perale
parent 02eb833145
commit 40d083cf24
3 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
import requests
r = requests.get("http://localhost")
assert r.status_code == 200