Skip to content

Commit

Permalink
add dirhtml test case
Browse files Browse the repository at this point in the history
Signed-off-by: Ruth Fuchss <[email protected]>
  • Loading branch information
ru-fu committed Feb 23, 2022
1 parent b0755bc commit 608fa23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ def test_site_url(og_meta_tags):
# Uses the same directory as simple, because it already contains url for a minimal config
assert get_tag_content(og_meta_tags, "url") == "http://example.org/index.html"

@pytest.mark.sphinx("dirhtml", testroot="simple")
def test_dirhtml_url(og_meta_tags):
assert get_tag_content(og_meta_tags, "url") == "http://example.org/index/"

@pytest.mark.sphinx("html", testroot="image")
def test_image(og_meta_tags):
Expand Down

0 comments on commit 608fa23

Please sign in to comment.