We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12df85 commit 7d8f8fdCopy full SHA for 7d8f8fd
tests/doc_tests/test_docs_links.py
@@ -42,10 +42,10 @@ def check_link(_url, branch_name):
42
print(f"The substring '/{branch_name}/' was not found.")
43
raise Exception()
44
45
- repo_root = f'https://github.com/sony/model_optimization/blob/{branch_name}/'
+ repo_root = f'model_optimization/blob/{branch_name}/'
46
abs_path = os.path.join(repo_root, link_path)
47
48
- assert os.path.isfile(abs_path), f"Missing file: {link_path}"
+ assert os.path.isfile(abs_path), f"Missing file: {abs_path}"
49
else:
50
try:
51
response = requests.head(_url)
0 commit comments