Skip to content

Commit bd1da22

Browse files
authored
Updated version in test and asserting result of click help option test (#135)
* updated assertion result of click test * updated assertion result of click test and version of readit tool
1 parent 7cdb498 commit bd1da22

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test_readit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_version(runner):
1313
result = runner.invoke(c.main, ['--version'])
1414
assert not result.exception
1515
assert result.exit_code == 0
16-
expected = "readit v0.2\n"
16+
expected = "readit v0.3\n"
1717
assert result.output == expected
1818

1919

@@ -47,6 +47,7 @@ def test_help_option(runner):
4747
" -o, --openurl TEXT Open URL in Browser\n"
4848
" -V, --version Check latest version\n"
4949
" -e, --export TEXT... Export URLs in csv file\n"
50-
" -tl, --taglist TEXT... Show all Tags\n"
50+
" -tl, --taglist TEXT... Show all Tags\n"
51+
" -ui, --urlinfo TEXT... Check particular URL info\n"
5152
" --help Show this message and exit.\n")
5253
assert result.output == expected_output

0 commit comments

Comments
 (0)