mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-08-01 15:04:11 +02:00
Docstring for sqlite-utils transform
This commit is contained in:
parent
f8553799d3
commit
c755f2852d
2 changed files with 6 additions and 0 deletions
|
|
@ -20,3 +20,8 @@ def documented_commands():
|
|||
@pytest.mark.parametrize("command", cli.cli.commands.keys())
|
||||
def test_commands_are_documented(documented_commands, command):
|
||||
assert command in documented_commands
|
||||
|
||||
|
||||
@pytest.mark.parametrize("command", cli.cli.commands.values())
|
||||
def test_commands_have_docstrings(command):
|
||||
assert command.__doc__, '{} is missing a docstring'.format(command)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue