mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-09-04 07:49:55 +00:00
port part of settings to database (#54)
This commit is contained in:
13
tests/ahriman/core/database/conftest.py
Normal file
13
tests/ahriman/core/database/conftest.py
Normal file
@ -0,0 +1,13 @@
|
||||
import pytest
|
||||
|
||||
from sqlite3 import Connection
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def connection() -> Connection:
|
||||
"""
|
||||
mock object for sqlite3 connection
|
||||
:return: sqlite3 connection test instance
|
||||
"""
|
||||
return MagicMock()
|
Reference in New Issue
Block a user