use async test

This commit is contained in:
ThePhaseless
2024-11-26 17:43:25 +00:00
parent 39a5045836
commit fd8c7156fd
5 changed files with 30 additions and 34 deletions
+14 -22
View File
@@ -1,27 +1,19 @@
{
"configurations": [
{
"console": "integratedTerminal",
"env": {
"LOG_LEVEL": "DEBUG"
},
"justMyCode": false,
"name": "Python Debugger: Main",
"program": "main.py",
"request": "launch",
"type": "debugpy"
},
],
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Main",
"type": "debugpy",
"justMyCode": false,
"env": {
"LOG_LEVEL": "DEBUG",
},
"request": "launch",
"program": "main.py",
"console": "integratedTerminal"
},
{
"name": "Python Debugger: Current File",
"justMyCode": false,
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
"version": "0.2.0"
}
+13 -10
View File
@@ -1,20 +1,23 @@
{
"python.testing.pytestArgs": [
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic",
"python.terminal.activateEnvironment": true,
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.defaultFormatter": "charliermarsh.ruff"
},
"python.analysis.autoImportCompletions": true,
"python.analysis.packageIndexDepths": [
{
"name": "",
"depth": 5,
"includeAllSymbols": true,
"name": ""
}
],
"python.analysis.typeCheckingMode": "standard",
"python.terminal.activateEnvironment": true,
"python.testing.pytestArgs": [
"-n",
"auto",
"--retries=2",
"--xvfb"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false
}