Skip to content

Commit

Permalink
ci: Declare testenv for e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
attakei committed May 13, 2024
1 parent 23f8093 commit 73c8d23
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 8 additions & 0 deletions tests/test-e2e/conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# noqa: D100

extensions = [
"atsphinx.mini18n",
]

mini18n_default_language = "en"
mini18n_support_languages = ["en", "ja"]
2 changes: 2 additions & 0 deletions tests/test-e2e/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Test doc for atsphinx-mini18n
=============================
8 changes: 1 addition & 7 deletions tests/test_javascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,7 @@ def __exit__(self, *args, **kwargs): # noqa: D105
self.shutdown()


@pytest.mark.sphinx(
"mini18n-html",
confoverrides={
"mini18n_default_language": "en",
"mini18n_support_languages": ["en", "ja"],
},
)
@pytest.mark.sphinx("mini18n-html", testroot="e2e")
def test__root(app: SphinxTestApp, page: Page):
app.build()
with ServerOnPytest(app.outdir) as server:
Expand Down

0 comments on commit 73c8d23

Please sign in to comment.