fastapi-master/tests/test_tutorial/test_testing/test_main_b.py

11 lines
300 B
Python
Raw Permalink Normal View History

2024-08-24 12:41:47 +08:00
from docs_src.app_testing.app_b import test_main
def test_app():
test_main.test_create_existing_item()
test_main.test_create_item()
test_main.test_create_item_bad_token()
test_main.test_read_nonexistent_item()
test_main.test_read_item()
test_main.test_read_item_bad_token()