Skip to content

Commit

Permalink
create and publish the docuemntation pages
Browse files Browse the repository at this point in the history
See #31

@edwardtheharris - [email protected]

Xander Harris

Changelog: changed
  • Loading branch information
edwardtheharris committed Mar 13, 2024
1 parent bcb3ba8 commit 2d81890
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""Configuration for panegyric tests."""

import pathlib
import pytest
from ruamel import yaml

Expand All @@ -15,7 +15,9 @@ def message():
def messages():
"""Return all messages for testing."""
yml = yaml.YAML(typ='safe', pure='True')
return_messages = yml.load(open('tests/compliments.yml'))
comp_path = pathlib.Path('tests/compliments.yml')
with comp_path.open('r', encoding='utf-8') as cp_fh:
return_messages = yml.load(cp_fh)
return return_messages


Expand Down

0 comments on commit 2d81890

Please sign in to comment.