Merge pull request #20101 from stvstnfrd/split-core/calc

Split calc package out into an independent package
This commit is contained in:
Feanil Patel
2019-05-03 15:59:27 -04:00
committed by GitHub
21 changed files with 9 additions and 1838 deletions

View File

@@ -8,7 +8,6 @@ out from edx-platform into separate packages at some point.
.. toctree::
:maxdepth: 2
common/lib/calc/modules
common/lib/capa/modules
common/lib/chem/modules
common/lib/safe_lxml/modules

View File

@@ -26,7 +26,6 @@ sys.path.insert(0, root)
sys.path.append(root / "docs")
sys.path.append(root / "cms/djangoapps")
sys.path.append(root / "common/djangoapps")
sys.path.append(root / "common/lib/calc")
sys.path.append(root / "common/lib/capa")
sys.path.append(root / "common/lib/chem")
sys.path.append(root / "common/lib/safe_lxml")
@@ -237,7 +236,6 @@ autodoc_mock_imports = [
# the generated *.rst files
modules = {
'cms': 'cms',
'common/lib/calc/calc': 'common/lib/calc',
'common/lib/capa/capa': 'common/lib/capa',
'common/lib/chem/chem': 'common/lib/chem',
'common/lib/safe_lxml/safe_lxml': 'common/lib/safe_lxml',

View File

@@ -246,7 +246,7 @@ after the first failure.
common/lib tests are tested with the ``test_lib`` task, which also
accepts the ``--failed`` and ``--exitfirst`` options::
paver test_lib -l common/lib/calc
paver test_lib -l common/lib/xmodule
paver test_lib -l common/lib/xmodule --failed
For example, this command runs a single python unit test file::