Skip to content

Commit

Permalink
Merge branch 'main' into release/0.65
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jun 2, 2023
2 parents cd6092f + e267b77 commit 09d55a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
)


@skip_if_not_on_ci
@pytest.mark.parametrize("edit", [True, False])
@pytest.mark.parametrize(
"test_input,expected",
Expand Down Expand Up @@ -52,4 +51,9 @@ def test_linkcode_resolve(test_input, expected, edit):
info = {"module": "ansys.mapdl.core", "fullname": test_input}
url = linkcode_resolve("py", info, edit)

assert expected in url
assert "http://github.com/pyansys/pymapdl" in url
assert "src/ansys/mapdl/core" in url
assert expected.split("/")[-1] in url

if "main" in url:
assert expected in url

0 comments on commit 09d55a4

Please sign in to comment.