Skip to content

Commit

Permalink
refractor
Browse files Browse the repository at this point in the history
  • Loading branch information
bitranox committed Oct 9, 2020
1 parent bf6ff61 commit fd7194c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ def test_shutil_ignore_function():
ignore_parser = igittigitt.IgnoreParser()
ignore_parser.parse_rule_files(base_dir=path_source_dir, filename=".test_gitignore")
shutil.copytree(
path_source_dir, path_target_dir, ignore=ignore_parser.shutil_ignore,
path_source_dir,
path_target_dir,
ignore=ignore_parser.shutil_ignore,
)

assert len(list(path_target_dir.glob("**/*"))) == 9
Expand Down

0 comments on commit fd7194c

Please sign in to comment.