We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc2213 commit 5a9323bCopy full SHA for 5a9323b
tests/robotcode/language_server/robotframework/parts/conftest.py
@@ -1,4 +1,5 @@
1
import dataclasses
2
+import shutil
3
from pathlib import Path
4
from typing import Any, AsyncIterator, cast
5
@@ -32,6 +33,10 @@
32
33
@pytest_asyncio.fixture(scope="package", ids=generate_test_id)
34
async def protocol(request: Any) -> AsyncIterator[RobotLanguageServerProtocol]:
35
root_path = Path(Path(__file__).resolve().parent, "data")
36
+ robotcode_cache_path = root_path / ".robotcode_cache"
37
+
38
+ if robotcode_cache_path.exists():
39
+ shutil.rmtree(robotcode_cache_path)
40
41
server = RobotLanguageServer()
42
try:
0 commit comments