Skip to content

Commit 09d55a4

Browse files
committed
Merge branch 'main' into release/0.65
2 parents cd6092f + e267b77 commit 09d55a4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_docs.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
)
1111

1212

13-
@skip_if_not_on_ci
1413
@pytest.mark.parametrize("edit", [True, False])
1514
@pytest.mark.parametrize(
1615
"test_input,expected",
@@ -52,4 +51,9 @@ def test_linkcode_resolve(test_input, expected, edit):
5251
info = {"module": "ansys.mapdl.core", "fullname": test_input}
5352
url = linkcode_resolve("py", info, edit)
5453

55-
assert expected in url
54+
assert "http://github.com/pyansys/pymapdl" in url
55+
assert "src/ansys/mapdl/core" in url
56+
assert expected.split("/")[-1] in url
57+
58+
if "main" in url:
59+
assert expected in url

0 commit comments

Comments
 (0)