Skip to content

Commit

Permalink
Improve test for ignore_dirs (#1052)
Browse files Browse the repository at this point in the history
Adds multiple value for proper test.

Follows up on #832
  • Loading branch information
Edwin18 authored Jul 11, 2024
1 parent 8de07f3 commit 1834204
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 1834204

Please sign in to comment.