mirror of
https://github.com/fastapi/fastapi.git
synced 2026-10-26 11:49:56 -04:00
✔ Improve support for tests in editor (#1699)
* ♻️ Remove required extra steps to test in editor * 🎨 Format lint script * 📝 Remove obsolete extra steps required to test in editor from docs * 🐛 Fix coverage
This commit is contained in:
1 parent
250fa519f9
commit
600f15faa0
17 files changed
+21
-35
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from app_testing.test_main import client, test_read_main
|
||||
from docs_src.app_testing.test_main import client, test_read_main
|
||||
|
||||
openapi_schema = {
|
||||
"openapi": "3.0.2",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from app_testing.tutorial001 import client, test_read_main
|
||||
from docs_src.app_testing.tutorial001 import client, test_read_main
|
||||
|
||||
openapi_schema = {
|
||||
"openapi": "3.0.2",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from app_testing.tutorial002 import test_read_main, test_websocket
|
||||
from docs_src.app_testing.tutorial002 import test_read_main, test_websocket
|
||||
|
||||
|
||||
def test_main():
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from app_testing.tutorial003 import test_read_items
|
||||
from docs_src.app_testing.tutorial003 import test_read_items
|
||||
|
||||
|
||||
def test_main():
|
||||
|
||||
Reference in new issue
Block a user