We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cac5a82 commit 04c9ed3Copy full SHA for 04c9ed3
1 file changed
python/extractor/tests/test_patterns.py
@@ -12,7 +12,7 @@ def __init__(self, name):
12
13
def test(self):
14
repo_dir = subprocess.Popen(["git", "rev-parse", "--show-toplevel"], stdout=subprocess.PIPE).communicate()[0].rstrip().decode("utf-8")
15
- test_file_path = os.path.abspath(os.path.join(repo_dir, "unit-tests", "files", "pattern-matching", "patterns.json"))
+ test_file_path = os.path.abspath(os.path.join(repo_dir, "..", "unit-tests", "files", "pattern-matching", "patterns.json"))
16
with open(test_file_path) as test_file:
17
test_patterns = json.load(test_file)
18
for test_pattern in test_patterns:
0 commit comments