mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
9b85c59907
commit
ba64cfb4bc
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def test_config_options_are_documented(config):
|
||||||
('publish', 'datasette-publish-help.txt'),
|
('publish', 'datasette-publish-help.txt'),
|
||||||
))
|
))
|
||||||
def test_help_includes(name, filename):
|
def test_help_includes(name, filename):
|
||||||
expected = open(docs_path / filename).read()
|
expected = open(str(docs_path / filename)).read()
|
||||||
runner = CliRunner()
|
runner = CliRunner()
|
||||||
result = runner.invoke(cli, [name, '--help'], terminal_width=88)
|
result = runner.invoke(cli, [name, '--help'], terminal_width=88)
|
||||||
actual = '$ datasette {} --help\n\n{}'.format(
|
actual = '$ datasette {} --help\n\n{}'.format(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue