File: test_serializinghtml.py

package info (click to toggle)
sphinxcontrib-serializinghtml 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 584 kB
  • sloc: python: 157; makefile: 7; sh: 7
file content (20 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Test for serializinghtml extension."""

from __future__ import annotations

from typing import TYPE_CHECKING

import pytest

if TYPE_CHECKING:
    from sphinx.application import Sphinx


@pytest.mark.sphinx('json', testroot='basic')
def test_json(app: Sphinx) -> None:
    app.builder.build_all()


@pytest.mark.sphinx('pickle', testroot='basic')
def test_pickle(app: Sphinx) -> None:
    app.builder.build_all()