Add conftest.py with fixture for simplemind Session

This commit is contained in:
2024-10-31 16:21:54 -04:00
parent 69c8723770
commit 984721f02b
+15
View File
@@ -0,0 +1,15 @@
import pytest
import os
import sys
# Add the project root to the Python path.
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from simplemind import Session
@pytest.fixture
def sm():
"""Fixture that provides a simplemind Session instance with default settings."""
return Session()