Skip to content

Commit 1834204

Browse files
authored
Improve test for ignore_dirs (#1052)
Adds multiple value for proper test. Follows up on #832
1 parent 8de07f3 commit 1834204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/messages/test_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ def test_extract_error_code(monkeypatch, capsys):
15741574
def test_extract_ignore_dirs(monkeypatch, capsys, tmp_path, with_underscore_ignore):
15751575
pot_file = tmp_path / 'temp.pot'
15761576
monkeypatch.chdir(project_dir)
1577-
cmd = f"extract . -o '{pot_file}' --ignore-dirs '*ignored*' "
1577+
cmd = f"extract . -o '{pot_file}' --ignore-dirs '*ignored* .*' "
15781578
if with_underscore_ignore:
15791579
# This also tests that multiple arguments are supported.
15801580
cmd += "--ignore-dirs '_*'"

0 commit comments

Comments
 (0)