Small typo on Development Environment creation instructions (#1043)
Corrections on READNE_DEV.md and testes/README.md
This commit is contained in:
parent
a4b4f1c288
commit
519a6b0035
@ -7,7 +7,7 @@ These are notes for developers working on osxphotos. They're mostly to help me r
|
|||||||
- Clone the repo: `git clone git@github.com:RhetTbull/osxphotos.git`
|
- Clone the repo: `git clone git@github.com:RhetTbull/osxphotos.git`
|
||||||
- Create a virtual environment and activate it: `python3 -m venv venv` then `source venv/bin/activate`. I use [pyenv](https://github.com/pyenv/pyenv) with [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) to manage my virtual environments
|
- Create a virtual environment and activate it: `python3 -m venv venv` then `source venv/bin/activate`. I use [pyenv](https://github.com/pyenv/pyenv) with [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) to manage my virtual environments
|
||||||
- Install the requirements: `pip install -r requirements.txt`
|
- Install the requirements: `pip install -r requirements.txt`
|
||||||
- Install the development requirements: `pip install -r requirements-dev.txt`
|
- Install the development requirements: `pip install -r dev_requirements.txt`
|
||||||
- Install osxphotos: `pip install -e .`
|
- Install osxphotos: `pip install -e .`
|
||||||
|
|
||||||
## Running tests
|
## Running tests
|
||||||
|
|||||||
@ -12,7 +12,7 @@ To set up a dev environment to work on osxphotos code or run tests follow these
|
|||||||
|
|
||||||
To run the tests, do the following from the main source folder:
|
To run the tests, do the following from the main source folder:
|
||||||
`python3 -m pytest tests/`
|
`python3 -m pytest tests/`
|
||||||
|
- To run a specific test specify its name with the -k flag: `python3 -m pytest -k "test_export_cleanup"`
|
||||||
|
|
||||||
## Skipped Tests ##
|
## Skipped Tests ##
|
||||||
A few tests will look for certain environment variables to determine if they should run.
|
A few tests will look for certain environment variables to determine if they should run.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user