Skip to content

Commit 1d6a980

Browse files
committed
test: increate test timeouts and enable pytest logging
1 parent f4f8c69 commit 1d6a980

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ addopts = "-ra -vv"
182182
filterwarnings = "ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning"
183183
testpaths = ["tests"]
184184
junit_suite_name = "robotcode"
185-
# log_cli = true
186-
# log_cli_level = 4
187-
# log_cli_format = "%(levelname)s %(name)s: %(message)s"
185+
log_cli = true
186+
log_cli_level = 4
187+
log_cli_format = "%(levelname)s %(name)s: %(message)s"
188188
asyncio_mode = "auto"
189189

190190

tests/robotcode/language_server/robotframework/parts/test_document_highlight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def test(
4141
test_document,
4242
Position(line=data.line, character=data.character),
4343
),
44-
60,
44+
5,
4545
)
4646
regtest.write(
4747
yaml.dump(

tests/robotcode/language_server/robotframework/parts/test_foldingrange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ async def test(
7272
data: GeneratedTestData,
7373
) -> None:
7474
result = await asyncio.wait_for(
75-
run_coroutine_in_thread(protocol.robot_folding_ranges.collect, protocol.robot_folding_ranges, test_document), 60
75+
run_coroutine_in_thread(protocol.robot_folding_ranges.collect, protocol.robot_folding_ranges, test_document), 5
7676
)
7777

7878
regtest.write(yaml.dump({"data": data, "result": result}))

tests/robotcode/language_server/robotframework/parts/test_goto_definition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def test_definition(
4242
test_document,
4343
Position(line=data.line, character=data.character),
4444
),
45-
60,
45+
5,
4646
)
4747

4848
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_goto_implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async def test_implementation(
6666
test_document,
6767
Position(line=data.line, character=data.character),
6868
),
69-
60,
69+
5,
7070
)
7171

7272
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_hover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def test(
5353
test_document,
5454
Position(line=data.line, character=data.character),
5555
),
56-
60,
56+
5,
5757
)
5858

5959
regtest.write(yaml.dump({"data": data, "result": split(result)}))

tests/robotcode/language_server/robotframework/parts/test_references.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def split(location: Location) -> Location:
4949
Position(line=data.line, character=data.character),
5050
ReferenceContext(include_declaration=True),
5151
),
52-
60,
52+
5,
5353
)
5454
regtest.write(
5555
yaml.dump(

0 commit comments

Comments
 (0)