summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2017-10-01 14:45:41 +0100
committerStephen Finucane <stephen@that.guru>2017-10-02 15:42:23 +0100
commit1f5ed022252066900c4ed982184e3d26885ca33d (patch)
tree1f9773b98e0da2c6d50ffbae1057784056486e74 /tests/test_quickstart.py
parent89f9c7cab74298a243ac409c26d25eb2b137bf03 (diff)
downloadsphinx-git-1f5ed022252066900c4ed982184e3d26885ca33d.tar.gz
sphinx-quickstart: Move code to 'sphinx.cmd'
We're going to move the executable's here (or at least those that part of the core library). The 'sphinx-build' executable was already moved, so lets do 'sphinx-quickstart' next. To avoid breaking packages that are using this feature directly, aliases for the old 'main' method are included. This is based on what Django does [1] and, like Django, will allow us to safely remove the old modules in Sphinx 2.0. [1] https://github.com/django/django/blob/1.11/django/test/runner.py#L688-L695 Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 21f836f44..46ed3a0c1 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -17,7 +17,7 @@ from six.moves import input
import pytest
from sphinx import application
-from sphinx import quickstart as qs
+from sphinx.cmd import quickstart as qs
from sphinx.util.console import nocolor, coloron
from sphinx.util.pycompat import execfile_