From 3a0d66f07b112b6d2bdc2b57bbf717a89a351ce6 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 3 Feb 2021 19:17:00 -0500 Subject: New upstream version 8.1.2. --- tests/test_plugins.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test_plugins.py (limited to 'tests/test_plugins.py') 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 -- cgit v1.2.3