From a6c692bb0819d46ab8218a6d433b4e2744089687 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 225d6b358..d9ecbcad2 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 '_*'"