Skip to content

Commit 3245dbd

Browse files
committed
settings for tests
1 parent c468818 commit 3245dbd

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

.vscode/launch.json

+30-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "Python Debugger: pytest",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"module": "pytest",
12+
"args": [
13+
"-m",
14+
"not gentestvalues and not asserts_llm_results",
15+
"-v",
16+
"-x",
17+
"-s",
18+
"-k",
19+
"test_django"
20+
// "accounts"
21+
],
22+
"justMyCode": false,
23+
},
724
{
825
"name": "Python Debugger: Current File",
926
"type": "debugpy",
@@ -12,14 +29,20 @@
1229
"console": "integratedTerminal",
1330
"justMyCode": false,
1431
"args": [
15-
"--llm", "ollama",
16-
"--model", "gemma2:2b",
17-
"--input_po", "tests/input/fr/LC_MESSAGES/input.po",
18-
"--target_language", "Italian",
19-
"--context_language", "English",
20-
"--original_language", "French",
32+
"--llm",
33+
"ollama",
34+
"--model",
35+
"gemma2:2b",
36+
"--input_po",
37+
"tests/input/fr/LC_MESSAGES/input.po",
38+
"--target_language",
39+
"Italian",
40+
"--context_language",
41+
"English",
42+
"--original_language",
43+
"French",
2144
"--verbose"
2245
]
23-
}
46+
},
2447
]
2548
}

.vscode/settings.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"tests"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

0 commit comments

Comments
 (0)