chg: test: pylint

This commit is contained in:
rachmadaniHaryono 2021-01-11 15:13:01 +08:00
parent 7014289a23
commit 74fdad694f

View File

@ -879,10 +879,8 @@ def test_list_tags(capsys, setup):
out, err = capsys.readouterr() out, err = capsys.readouterr()
prompt(bdb, None, True, listtags=True) prompt(bdb, None, True, listtags=True)
out, err = capsys.readouterr() out, err = capsys.readouterr()
assert ( exp_out = " 1. 1 (2)\n 2. 2 (1)\n 3. 3 (1)\n 4. ant (3)\n 5. bee (3)\n 6. cat (3)\n\n"
out assert out == exp_out
== " 1. 1 (2)\n 2. 2 (1)\n 3. 3 (1)\n 4. ant (3)\n 5. bee (3)\n 6. cat (3)\n\n"
)
assert err == "" assert err == ""