mirror of https://github.com/saimn/sigal.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
318 B
14 lines
318 B
# -*- coding: utf-8 -*- |
|
|
|
import os |
|
import pytest |
|
|
|
from sigal.settings import read_settings |
|
|
|
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__)) |
|
|
|
|
|
@pytest.fixture(scope='session') |
|
def settings(): |
|
"""Read the sample config file.""" |
|
return read_settings(os.path.join(CURRENT_DIR, 'sample', 'sigal.conf.py'))
|
|
|