20 lines
412 B
Python
20 lines
412 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import PIL
|
|
import pytest
|
|
|
|
from sigal.settings import read_settings
|
|
|
|
CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
|
|
@pytest.fixture
|
|
def settings():
|
|
"""Read the sample config file."""
|
|
return read_settings(os.path.join(CURRENT_DIR, 'sample', 'sigal.conf.py'))
|
|
|
|
|
|
def pytest_report_header(config):
|
|
return "project deps: Pillow-{}".format(PIL.PILLOW_VERSION)
|