mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Updates to contributing docs
1. Docs reference an EOL version of Python when recommending a version to install using pyenv. (resolves #65978) 2. Fixes incorrect location for tests (as described in #66021)
This commit is contained in:
parent
0878b59797
commit
f77d7ea750
1 changed files with 5 additions and 5 deletions
|
@ -88,7 +88,7 @@ version of Python:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
pyenv install 3.7.0
|
pyenv install 3.9.18
|
||||||
|
|
||||||
If that fails, don't panic! You're probably just missing some build
|
If that fails, don't panic! You're probably just missing some build
|
||||||
dependencies. Check out `pyenv common build
|
dependencies. Check out `pyenv common build
|
||||||
|
@ -99,7 +99,7 @@ new virtual environment with this command:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
pyenv virtualenv 3.7.0 salt
|
pyenv virtualenv 3.9.18 salt
|
||||||
|
|
||||||
Then activate it:
|
Then activate it:
|
||||||
|
|
||||||
|
@ -321,8 +321,8 @@ documentation:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
pyenv install 3.7.15
|
pyenv install 3.9.18
|
||||||
pyenv virtualenv 3.7.15 salt-docs
|
pyenv virtualenv 3.9.18 salt-docs
|
||||||
echo 'salt-docs' > .python-version
|
echo 'salt-docs' > .python-version
|
||||||
|
|
||||||
#. Activate `pyenv` if it's not auto-activated:
|
#. Activate `pyenv` if it's not auto-activated:
|
||||||
|
@ -477,7 +477,7 @@ meaningful and complete! *Typically* the best tests for Salt are going
|
||||||
to be unit tests. Testing is `a whole topic on its
|
to be unit tests. Testing is `a whole topic on its
|
||||||
own <https://docs.saltproject.io/en/master/topics/tutorials/writing_tests.html>`__,
|
own <https://docs.saltproject.io/en/master/topics/tutorials/writing_tests.html>`__,
|
||||||
But you may also want to write functional or integration tests. You'll
|
But you may also want to write functional or integration tests. You'll
|
||||||
find those in the ``salt/tests`` directory.
|
find those in the ``tests/`` directory.
|
||||||
|
|
||||||
When you're thinking about tests to write, the most important thing to
|
When you're thinking about tests to write, the most important thing to
|
||||||
keep in mind is, “What, exactly, am I testing?” When a test fails, you
|
keep in mind is, “What, exactly, am I testing?” When a test fails, you
|
||||||
|
|
Loading…
Add table
Reference in a new issue