Skip to content

Commit

Permalink
Fix test case for exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
mirecl committed Apr 4, 2023
1 parent 386f345 commit 068185c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ def call_vulture_with_excludes(excludes):
return call_vulture(["vulture/", "--exclude", get_csv(excludes)])

assert call_vulture_with_excludes(["core.py", "utils.py"]) == 1
assert (
call_vulture_with_excludes(["./vulture/core.py", "./vulture/utils.py"])
== 0
)
assert call_vulture_with_excludes(["./core.py", "./whitelists"]) == 0
assert call_vulture_with_excludes(glob.glob("vulture/*.py")) == 0


Expand Down

0 comments on commit 068185c

Please sign in to comment.