Update tests/test_scripts.py

Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
Aayush Goel
2023-05-24 15:39:24 +05:30
committed by GitHub
parent acdaeb26d3
commit 52c3ea733b

View File

@@ -178,7 +178,7 @@ def test_detect_duplicate_features(tmpdir):
rule_dir = tmpdir.mkdir("capa_rule_overlap_test")
rule_paths = []
rule_file = tmpdir.join("%s.yml" % "rule_0")
rule_file = tmpdir.join("rule_0.yml")
rule_file.write(TEST_RULE_0)
rule_paths.append(rule_file.strpath)