summaryrefslogtreecommitdiff
path: root/tests/sample_files
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-08-21 23:45:14 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-08-21 23:45:14 -0600
commitffe145a6c67afed6fb68326edbc91cbd94a3f846 (patch)
tree8eb6f354beff2c35d1f823cf058f3fd4c74b49d0 /tests/sample_files
parent5c3b2c158180aa47003c5e82857594afd0c2bd7b (diff)
feat: fuck it, delete tests
Diffstat (limited to 'tests/sample_files')
-rw-r--r--tests/sample_files/__init__.py0
-rw-r--r--tests/sample_files/checksum.txt1
-rw-r--r--tests/sample_files/config/__init__.py0
-rw-r--r--tests/sample_files/config/default.yaml23
-rw-r--r--tests/sample_files/config/default_missing_dirs.yaml17
-rw-r--r--tests/sample_files/config/default_missing_mandatory_key.yaml24
-rw-r--r--tests/sample_files/config/default_missing_root_dir.yaml18
-rw-r--r--tests/sample_files/config/multiple_default.yaml45
-rw-r--r--tests/sample_files/config/multiple_default_one_doc_error.yaml39
-rw-r--r--tests/sample_files/md/__init__.py0
-rw-r--r--tests/sample_files/md/a/__init__.py0
-rw-r--r--tests/sample_files/md/a/second.md12
-rw-r--r--tests/sample_files/md/first.md10
-rw-r--r--tests/sample_files/md/new.md10
14 files changed, 0 insertions, 199 deletions
diff --git a/tests/sample_files/__init__.py b/tests/sample_files/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/sample_files/__init__.py
+++ /dev/null
diff --git a/tests/sample_files/checksum.txt b/tests/sample_files/checksum.txt
deleted file mode 100644
index 025b879..0000000
--- a/tests/sample_files/checksum.txt
+++ /dev/null
@@ -1 +0,0 @@
-The content of this file is irrelevant as it is only to test the checksum function. \ No newline at end of file
diff --git a/tests/sample_files/config/__init__.py b/tests/sample_files/config/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/sample_files/config/__init__.py
+++ /dev/null
diff --git a/tests/sample_files/config/default.yaml b/tests/sample_files/config/default.yaml
deleted file mode 100644
index 08121a6..0000000
--- a/tests/sample_files/config/default.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- /:
- cfg:
- plt: "page.html"
- tags: False
- index: False
- rss: False
- sitemap: False
-... \ No newline at end of file
diff --git a/tests/sample_files/config/default_missing_dirs.yaml b/tests/sample_files/config/default_missing_dirs.yaml
deleted file mode 100644
index 03ee35a..0000000
--- a/tests/sample_files/config/default_missing_dirs.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
-# test missing dirs (doesn't have any)
-... \ No newline at end of file
diff --git a/tests/sample_files/config/default_missing_mandatory_key.yaml b/tests/sample_files/config/default_missing_mandatory_key.yaml
deleted file mode 100644
index b5554f7..0000000
--- a/tests/sample_files/config/default_missing_mandatory_key.yaml
+++ /dev/null
@@ -1,24 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-# test missing mandatory key
-# title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- /:
- cfg:
- plt: "page.html"
- tags: False
- index: False
- rss: False
- sitemap: False
-... \ No newline at end of file
diff --git a/tests/sample_files/config/default_missing_root_dir.yaml b/tests/sample_files/config/default_missing_root_dir.yaml
deleted file mode 100644
index 896e141..0000000
--- a/tests/sample_files/config/default_missing_root_dir.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
-# test missing "/" dir in specific
- something:
-... \ No newline at end of file
diff --git a/tests/sample_files/config/multiple_default.yaml b/tests/sample_files/config/multiple_default.yaml
deleted file mode 100644
index 54954b1..0000000
--- a/tests/sample_files/config/multiple_default.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- /:
- cfg:
- plt: "page.html"
- tags: False
- index: False
- rss: False
- sitemap: False
-...
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- /:
- cfg:
- plt: "page.html"
- tags: False
- index: False
- rss: False
- sitemap: False
-... \ No newline at end of file
diff --git a/tests/sample_files/config/multiple_default_one_doc_error.yaml b/tests/sample_files/config/multiple_default_one_doc_error.yaml
deleted file mode 100644
index 44d9beb..0000000
--- a/tests/sample_files/config/multiple_default_one_doc_error.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-%YAML 1.2
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- /:
- cfg:
- plt: "page.html"
- tags: False
- index: False
- rss: False
- sitemap: False
-...
----
-define: &root "$PYSSG_HOME/pyssg/site_example/"
-
-title: "Example site"
-path:
- src: !join [*root, "src"]
- dst: !join [*root, "dst"]
- plt: !join [*root, "plt"]
- db: !join [*root, ".files"]
-url:
- main: "https://example.com"
-fmt:
- date: "%a, %b %d, %Y @ %H:%M %Z"
-dirs:
- # just removing all paths as it will cause an error
-... \ No newline at end of file
diff --git a/tests/sample_files/md/__init__.py b/tests/sample_files/md/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/sample_files/md/__init__.py
+++ /dev/null
diff --git a/tests/sample_files/md/a/__init__.py b/tests/sample_files/md/a/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/tests/sample_files/md/a/__init__.py
+++ /dev/null
diff --git a/tests/sample_files/md/a/second.md b/tests/sample_files/md/a/second.md
deleted file mode 100644
index cb4e333..0000000
--- a/tests/sample_files/md/a/second.md
+++ /dev/null
@@ -1,12 +0,0 @@
-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/sample_files/md/first.md b/tests/sample_files/md/first.md
deleted file mode 100644
index 567ea3e..0000000
--- a/tests/sample_files/md/first.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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/sample_files/md/new.md b/tests/sample_files/md/new.md
deleted file mode 100644
index ce684a7..0000000
--- a/tests/sample_files/md/new.md
+++ /dev/null
@@ -1,10 +0,0 @@
-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