summaryrefslogtreecommitdiff
path: root/tests/test_ext_githubpages.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_githubpages.py')
-rw-r--r--tests/test_ext_githubpages.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test_ext_githubpages.py b/tests/test_ext_githubpages.py
new file mode 100644
index 000000000..65276df7a
--- /dev/null
+++ b/tests/test_ext_githubpages.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+"""
+ test_ext_githubpages
+ ~~~~~~~~~~~~~~~~~~~~
+
+ Test sphinx.ext.githubpages extension.
+
+ :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+"""
+
+import re
+
+from util import with_app
+
+
+@with_app('html', testroot='ext-githubpages')
+def test_githubpages(app, status, warning):
+ app.builder.build_all()
+ assert (app.outdir / '.nojekyll').exists()