From 95a4f329ed920da3e2049d525d1fa1562bd22e65 Mon Sep 17 00:00:00 2001 From: Bohdan Malomuzh Date: Fri, 22 Dec 2023 19:32:58 +0200 Subject: [PATCH] test_frontend.py: Fix test Adds multiple value for proper test. Fixes for https://github.com/python-babel/babel/pull/832 --- tests/messages/test_frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/messages/test_frontend.py b/tests/messages/test_frontend.py index 448dd7357..45638b3b1 100644 --- a/tests/messages/test_frontend.py +++ b/tests/messages/test_frontend.py @@ -1574,7 +1574,7 @@ def test_extract_error_code(monkeypatch, capsys): def test_extract_ignore_dirs(monkeypatch, capsys, tmp_path, with_underscore_ignore): pot_file = tmp_path / 'temp.pot' monkeypatch.chdir(project_dir) - cmd = f"extract . -o '{pot_file}' --ignore-dirs '*ignored*' " + cmd = f"extract . -o '{pot_file}' --ignore-dirs '*ignored* .*' " if with_underscore_ignore: # This also tests that multiple arguments are supported. cmd += "--ignore-dirs '_*'"