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>
This commit is contained in:
committed by
Peter Korsgaard
parent
ef52933074
commit
425abcd025
@@ -0,0 +1,4 @@
|
||||
import requests
|
||||
|
||||
r = requests.get("http://localhost")
|
||||
assert r.status_code == 200
|
||||
Reference in New Issue
Block a user