summaryrefslogtreecommitdiffstats
path: root/tests/test_plugins.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2021-02-03 19:17:00 -0500
commit3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 (patch)
treea7cf56282e54f05785243bc1e903d6594f2c06ba /tests/test_plugins.py
parent787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff)
New upstream version 8.1.2.upstream/8.1.2
Diffstat (limited to 'tests/test_plugins.py')
-rw-r--r--tests/test_plugins.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
new file mode 100644
index 0000000..6760ad5
--- /dev/null
+++ b/tests/test_plugins.py
@@ -0,0 +1,16 @@
+"""
+Simple plugin tests.
+
+More advanced tests should be in a separate module.
+"""
+
+
+def test_command_version():
+ """Test `nikola version`."""
+ from nikola.plugins.command.version import CommandVersion
+
+ CommandVersion().execute()
+
+
+def test_importing_plugin_task_galleries():
+ import nikola.plugins.task.galleries # NOQA