Skip to content

Commit

Permalink
fixing broken doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 committed Sep 28, 2023
1 parent 21981f7 commit 10d417b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dev =
wheel>=0.33.6

docs =
Sphinx>=2.1.0
Sphinx>=7.1.0
sphinx_bootstrap_theme>=0.4.12
recommonmark>=0.6
sphinx-issues>=1.2.0
Expand Down
4 changes: 2 additions & 2 deletions tests/misc/test_docupaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ def test_docupaths(app, status, warning):
dmdoc = app.srcdir / "_build/html/contents.html"
assert dmdoc.exists()

tt = dmdoc.read_text()
tt = dmdoc.read_text()

# check for datamodel directive stuff
assert '<section id="datamodel">' in tt
assert '<h2>DR17<a class="headerlink" href="#dr17" title="Permalink to this heading">¶</a></h2>' in tt
assert '<h2>DR17<a class="headerlink" href="#dr17" title="Link to this heading">¶</a></h2>' in tt
assert "<td><p>$MANGA_SPECTRO_REDUX/{drpver}/{plate}/stack/manga-{plate}-{ifu}-{wave}CUBE.fits.gz</p></td>" in tt

# check for changelog directive stuff
Expand Down

0 comments on commit 10d417b

Please sign in to comment.