forked from AFPy/potodo
Added the last missing options for the cli tests
This commit is contained in:
parent
f5c83f5334
commit
15ec1258f7
|
@ -100,8 +100,6 @@ class TestPotodoCLI:
|
|||
"- excluded.po 1 / 2 ( 50.0% translated)"
|
||||
not in output
|
||||
)
|
||||
|
||||
# TODO: Test hide_reserved, offline options
|
||||
|
||||
def test_potodo_counts(self):
|
||||
output = check_output(["potodo", "--counts"]).decode("utf-8")
|
||||
|
@ -114,3 +112,12 @@ class TestPotodoCLI:
|
|||
assert "- file4.po 1 to do" in output
|
||||
assert "# repository (16.50% done)" in output
|
||||
assert "- file1.po 2 to do, including 1 fuzzies." in output
|
||||
|
||||
def test_potodo_exclude_fuzzy(self):
|
||||
output = check_output(["potodo", "--exclude-fuzzy"]).decode("utf-8")
|
||||
assert "- excluded.po 1 / 2 ( 50.0% translated)" in output
|
||||
assert "- file4.po 1 to do" in output
|
||||
assert "# repository (16.50% done)" in output
|
||||
assert "- file1.po 2 to do, including 1 fuzzies." not in output
|
||||
|
||||
# TODO: Test hide_reserved, offline options, only_reserved, exclude_reserved, show_reservation_dates
|
||||
|
|
Loading…
Reference in New Issue
Block a user