forked from AFPy/potodo
Fixed black
This commit is contained in:
parent
61b0f6d746
commit
09e3ed6391
|
@ -100,7 +100,7 @@ class TestPotodoCLI:
|
|||
"- excluded.po 1 / 2 ( 50.0% translated)"
|
||||
not in output
|
||||
)
|
||||
|
||||
|
||||
def test_potodo_counts(self):
|
||||
output = check_output(["potodo", "--counts"]).decode("utf-8")
|
||||
output_short = check_output(["potodo", "-c"]).decode("utf-8")
|
||||
|
@ -111,11 +111,18 @@ 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
|
||||
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 "- file1.po 2 to do, including 1 fuzzies." not in output
|
||||
assert (
|
||||
"- excluded.po 1 / 2 ( 50.0% translated)" 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