mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
Modernize code and add a test
This commit is contained in:
parent
32c4488fb7
commit
5b7dbc440c
14 changed files with 546 additions and 110 deletions
9
pelican/plugins/share_post/conftest.py
Normal file
9
pelican/plugins/share_post/conftest.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import pytest
|
||||
|
||||
from pelican.tests.support import temporary_folder
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def tmp_folder():
|
||||
with temporary_folder() as tf:
|
||||
yield tf
|
||||
Loading…
Add table
Add a link
Reference in a new issue