blob: feb04abd2229ca5b0f950cb1d1f1c481e50ae0a3 (
plain)
1
2
3
4
5
6
7
8
9
|
import pytest
import subprocess
def test_build_docs(tmpdir):
doctrees = tmpdir.join("doctrees")
htmldir = "html" #we want to keep the docs
subprocess.check_call([
"sphinx-build", "-q", "-bhtml",
"-d", str(doctrees), ".", str(htmldir)])
|