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 #832
  • Loading branch information
Edwin18 committed Dec 22, 2023
1 parent f8f15ef commit 711676b
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 711676b

Please sign in to comment.