mirror of
https://github.com/nikdoof/simple-webfinger.git
synced 2025-12-11 17:42:14 +00:00
14 lines
264 B
Python
14 lines
264 B
Python
import pytest
|
|
import yaml
|
|
|
|
from simple_webfinger.app import create_app
|
|
|
|
|
|
@pytest.fixture(scope="module")
|
|
def app():
|
|
app = create_app()
|
|
app.webfinger_config = yaml.load(
|
|
open("examples/example-config.yaml", "r"), yaml.SafeLoader
|
|
)
|
|
yield app
|