mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
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:
committed by
Thomas Perale
parent
02eb833145
commit
40d083cf24
4
support/testing/tests/package/sample_python_requests.py
Normal file
4
support/testing/tests/package/sample_python_requests.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import requests
|
||||
|
||||
r = requests.get("http://localhost")
|
||||
assert r.status_code == 200
|
||||
Reference in New Issue
Block a user