From ce88e240791670aefa80cf83c058a6e774d2dea6 Mon Sep 17 00:00:00 2001 From: akb Date: Tue, 6 Aug 2019 05:42:29 +0000 Subject: [PATCH] Start writing a test for docstrings --- tests/test_plugins.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_plugins.py b/tests/test_plugins.py index c9b50d48..cb219fad 100644 --- a/tests/test_plugins.py +++ b/tests/test_plugins.py @@ -65,3 +65,9 @@ def test_invocation_includes_command(command): for test in command.tests: message = f"The tested command {command.name} is not in the invocation {test.invocation}." assert command.name in test.invocation, message + + +@pytest.mark.xfail +def test_python_command_docstrings(): + """Run docshtest on docstrings of commands defined in Python code.""" + raise NotImplementedError