Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent bac0748 commit f5cebbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pelican/plugins/mau_reader/test_mau_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def test_article_with_mau_extension_non_ascii_metadata():
source_path = os.path.join(TEST_CONTENT_PATH, "article_with_nonascii_metadata.mau")
output, metadata = mau_reader.read(source_path)

assert metadata["title"] == "マックOS X 10.8でパイソンとVirtualenvをインストールと設定"
assert (
metadata["title"] == "マックOS X 10.8でパイソンとVirtualenvをインストールと設定"
)
assert metadata["date"].strftime("%Y-%m-%d %H:%M:%S") == "2012-12-20 00:00:00"
assert metadata["modified"].strftime("%Y-%m-%d %H:%M:%S") == "2012-12-22 00:00:00"
assert metadata["category"] == "指導書"
Expand Down

0 comments on commit f5cebbe

Please sign in to comment.