Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
devstack
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
devstack
Commits
c396c6e5
Commit
c396c6e5
authored
Jun 20, 2017
by
Vedran Karacic
Committed by
Vedran Karačić
Jun 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add documentation about running LMS tests.
parent
f25be4d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
README.rst
+14
-0
No files found.
README.rst
View file @
c396c6e5
...
@@ -276,6 +276,19 @@ PyCharm Integration
...
@@ -276,6 +276,19 @@ PyCharm Integration
See the `Pycharm Integration documentation`_.
See the `Pycharm Integration documentation`_.
Running LMS and Studio Python tests
-----------------------------------
If you want to run Python tests inside the LMS or Studio container, you need to pass the
``test_docker`` settings flag. Example:
.. code:: sh
DISABLE_MIGRATIONS=1 ./manage.py lms test --settings=test_docker openedx.core.djangoapps.user_api
You can also add the ``test_docker`` settings flag to the other examples detailed
in the `edx-platform testing documentation`_.
Troubleshooting: General Tips
Troubleshooting: General Tips
-----------------------------
-----------------------------
...
@@ -399,6 +412,7 @@ Or, you can run the following commands to clean up dangling images and volumes:
...
@@ -399,6 +412,7 @@ Or, you can run the following commands to clean up dangling images and volumes:
.. _configuring Docker for Mac: https://docs.docker.com/docker-for-mac/#/advanced
.. _configuring Docker for Mac: https://docs.docker.com/docker-for-mac/#/advanced
.. _feature added in Docker 17.05: https://github.com/edx/configuration/pull/3864
.. _feature added in Docker 17.05: https://github.com/edx/configuration/pull/3864
.. _Pycharm Integration documentation: docs/pycharm_integration.rst
.. _Pycharm Integration documentation: docs/pycharm_integration.rst
.. _edx-platform testing documentation: https://github.com/edx/edx-platform/blob/master/docs/testing.rst#running-python-unit-tests
.. |Build Status| image:: https://travis-ci.org/edx/devstack.svg?branch=master
.. |Build Status| image:: https://travis-ci.org/edx/devstack.svg?branch=master
:target: https://travis-ci.org/edx/devstack
:target: https://travis-ci.org/edx/devstack
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment