From c09b51be40444ef59809b6148184490bd4972004 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 25 Feb 2023 21:41:47 -0600 Subject: add database tests --- tests/io_files/md/__init__.py | 0 tests/io_files/md/a/__init__.py | 0 tests/io_files/md/a/second.md | 12 ++++++++++++ tests/io_files/md/first.md | 10 ++++++++++ tests/io_files/md/new.md | 10 ++++++++++ 5 files changed, 32 insertions(+) create mode 100644 tests/io_files/md/__init__.py create mode 100644 tests/io_files/md/a/__init__.py create mode 100644 tests/io_files/md/a/second.md create mode 100644 tests/io_files/md/first.md create mode 100644 tests/io_files/md/new.md (limited to 'tests/io_files') diff --git a/tests/io_files/md/__init__.py b/tests/io_files/md/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/io_files/md/a/__init__.py b/tests/io_files/md/a/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/io_files/md/a/second.md b/tests/io_files/md/a/second.md new file mode 100644 index 0000000..cb4e333 --- /dev/null +++ b/tests/io_files/md/a/second.md @@ -0,0 +1,12 @@ +title: Second blog post for testing purposes +author: David Luévano + Someone Else +lang: en +summary: This is just a post used for testing (the second). +tags: test + english + short + update + multiple-author + +A second "blog entry" for testing purposes which uses multiple authors and is inside a subdirectory. diff --git a/tests/io_files/md/first.md b/tests/io_files/md/first.md new file mode 100644 index 0000000..567ea3e --- /dev/null +++ b/tests/io_files/md/first.md @@ -0,0 +1,10 @@ +title: First blog post for testing purposes +author: David Luévano +lang: en +summary: This is just a post used for testing. +tags: test + english + short + update + +Even though I have this "blog" subdomain and page setup, doesn't mean I'll be blogging for pyssg, this is just to serve as an example for the types of sites that pyssg can be used for. \ No newline at end of file diff --git a/tests/io_files/md/new.md b/tests/io_files/md/new.md new file mode 100644 index 0000000..ce684a7 --- /dev/null +++ b/tests/io_files/md/new.md @@ -0,0 +1,10 @@ +title: New file +author: David Luévano +lang: en +summary: New file used for testing the database. +tags: test + english + short + update + +This is a sample markdown file used for testing pyssg. \ No newline at end of file -- cgit v1.2.3-54-g00ecf