Skip to content

Commit

Permalink
test_frontend.py: Fix test
Browse files Browse the repository at this point in the history
Adds multiple value for proper test.

Fixes for python-babel#832
  • Loading branch information
Edwin18 authored and akx committed Apr 15, 2024
1 parent f750743 commit a6c692b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/messages/test_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '_*'"
Expand Down

0 comments on commit a6c692b

Please sign in to comment.