Skip to content

Commit

Permalink
change unittest path for new parser docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Osinski committed Nov 22, 2024
1 parent b4bdaed commit 15c575a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_file_existence(self):
"wizcli_common_parsers", # common class for other wizcli parsers
]:
with self.subTest(parser=parser_dir.name, category="docs"):
doc_file = os.path.join(basedir, "docs", "content", "en", "integrations", "parsers", category, f"{doc_name}.md")
doc_file = os.path.join(basedir, "docs", "content", "en", "connecting_your_tools", "parsers", category, f"{doc_name}.md")
self.assertTrue(
Path(doc_file).is_file(),
f"Documentation file '{doc_file}' is missing or using different name",
Expand Down Expand Up @@ -103,7 +103,7 @@ def test_file_existence(self):
i = 0

def test_parser_existence(self):
for docs in os.scandir(os.path.join(basedir, "docs", "content", "en", "integrations", "parsers", "file")):
for docs in os.scandir(os.path.join(basedir, "docs", "content", "en", "connecting_your_tools", "parsers", "file")):
if docs.name not in [
"_index.md", "codeql.md", "edgescan.md",
]:
Expand Down

0 comments on commit 15c575a

Please sign in to comment.