From 7c68b6b406b1ab864b832be814458a93717ce908 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 8 Jul 2021 16:52:51 +0300 Subject: lint fixes --- testenv/tests/apps/htpasswd/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testenv/tests/apps/htpasswd') diff --git a/testenv/tests/apps/htpasswd/test_main.py b/testenv/tests/apps/htpasswd/test_main.py index 4b1ee66b..54f30047 100644 --- a/testenv/tests/apps/htpasswd/test_main.py +++ b/testenv/tests/apps/htpasswd/test_main.py @@ -164,7 +164,7 @@ def test_fail__unknown_plugin() -> None: def test_fail__invalid_passwd(mocker, tmpdir) -> None: # type: ignore path = os.path.abspath(str(tmpdir.join("htpasswd"))) - open(path, "w").close() + open(path, "w").close() # pylint: disable=consider-using-with mocker.patch.object(builtins, "input", (lambda: "\n")) with pytest.raises(SystemExit, match="The argument is not a valid passwd characters"): _run_htpasswd(["set", "admin", "--read-stdin"], path) -- cgit v1.2.3