aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-09-20 19:11:45 +0300
committerGravatar ks129 <[email protected]>2020-09-20 19:11:45 +0300
commit57d5f7a5404828a7930e92fbb7e9237c3b598e29 (patch)
tree514f931577a8ebc34fe4cfdc7cec607fbdf5c3af
parentAdd handling for invalid category for category guide (diff)
Add test data for guides
-rw-r--r--pydis_site/apps/guides/tests/test_guides/category/_info.yml2
-rw-r--r--pydis_site/apps/guides/tests/test_guides/category/test3.md5
-rw-r--r--pydis_site/apps/guides/tests/test_guides/test.md11
-rw-r--r--pydis_site/apps/guides/tests/test_guides/test2.md5
4 files changed, 23 insertions, 0 deletions
diff --git a/pydis_site/apps/guides/tests/test_guides/category/_info.yml b/pydis_site/apps/guides/tests/test_guides/category/_info.yml
new file mode 100644
index 00000000..8311509d
--- /dev/null
+++ b/pydis_site/apps/guides/tests/test_guides/category/_info.yml
@@ -0,0 +1,2 @@
+name: My Category
+description: My Description
diff --git a/pydis_site/apps/guides/tests/test_guides/category/test3.md b/pydis_site/apps/guides/tests/test_guides/category/test3.md
new file mode 100644
index 00000000..bdde6188
--- /dev/null
+++ b/pydis_site/apps/guides/tests/test_guides/category/test3.md
@@ -0,0 +1,5 @@
+Title: Test 3
+ShortDescription: Testing 3
+Contributors: user3
+
+This is too test content, but in category.
diff --git a/pydis_site/apps/guides/tests/test_guides/test.md b/pydis_site/apps/guides/tests/test_guides/test.md
new file mode 100644
index 00000000..7a917899
--- /dev/null
+++ b/pydis_site/apps/guides/tests/test_guides/test.md
@@ -0,0 +1,11 @@
+Title: Test
+ShortDescription: Testing
+Contributors: user
+RelevantLinks: https://pythondiscord.com/pages/resources/guides/asking-good-questions/
+ https://pythondiscord.com/pages/resources/guides/help-channels/
+ https://pythondiscord.com/pages/code-of-conduct/
+RelevantLinkValues: Asking Good Questions
+ Help Channel Guide
+ Code of Conduct
+
+This is test content.
diff --git a/pydis_site/apps/guides/tests/test_guides/test2.md b/pydis_site/apps/guides/tests/test_guides/test2.md
new file mode 100644
index 00000000..f0852356
--- /dev/null
+++ b/pydis_site/apps/guides/tests/test_guides/test2.md
@@ -0,0 +1,5 @@
+Title: Test 2
+ShortDescription: Testing 2
+Contributors: user2
+
+This is too test content. \ No newline at end of file