kumquat-buildroot/support/testing/tests
Marcus Hoffmann 4e5a25a112 support/testing: add fastapi runtime test
Add a runtime test for fastapi. Use uvicorn as the asgi server
application as does the fastapi hello world example [1].

Fastapi depends on PydanticV2 now which is written in rust so we need to
run the test on armv7.

[1] https://fastapi.tiangolo.com/tutorial/first-steps/

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
[Arnout:
 - fix flake8 errors
support/testing/tests/package/sample_python_fastapi.py:5:1: E302 expected 2 blank lines, found 1
support/testing/tests/package/sample_python_fastapi.py:8:1: W391 blank line at end of file
 - Remove BR2_CCACHE (as requested by Marcus).
 - Add a comment explaining that this also tests uvicorn and pydantic.
 - Re-try wget in a loop instead of a fixed timeout of 30 seconds.
 - Add a DEVELOPERS entry.
]
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-02-06 13:31:48 +01:00
..
boot support/testing: use Nehalem cpu emulation for TestGrubX8664EFI 2024-02-05 17:02:24 +01:00
core support/testing: TestNoTimezone: fix the test case for Glibc 2023-08-01 23:15:18 +02:00
download boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
fs support/testing: override the EDK2 CPU hotplug bug check 2023-07-29 11:00:56 +02:00
init support/testing: InitSystemSystemdBaseOverlayfs: bump kernel to 5.10.202 2023-12-09 21:35:32 +01:00
package support/testing: add fastapi runtime test 2024-02-06 13:31:48 +01:00
toolchain toolchain/toolchain-external/toolchain-external-bootlin: update to 2023.11-1 2023-12-28 21:57:50 +01:00
utils support/testing: complete the grammar fix 2023-04-23 21:53:02 +02:00
__init__.py