Skip to content

Commit

Permalink
Added pytest-mock to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
vallsv committed Dec 15, 2022
1 parent 83e5098 commit 08c36a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
run: |
pip install pytest
pip install pytest-xvfb
pip install pytest-mock
- name: Install silx package
run: pip install --pre --find-links dist/ silx
Expand Down
1 change: 1 addition & 0 deletions ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ before_test:
# Install pytest
- "pip install %PIP_OPTIONS% pytest"
- "pip install %PIP_OPTIONS% pytest-xvfb"
- "pip install %PIP_OPTIONS% pytest-mock"

# Install the generated wheel package to test it
# Make sure silx does not come from cache or pypi
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pandoc # For documentation Qt snapshot updates
pytest # For testing
pytest-xvfb # For GUI testing
pytest-cov # For coverage
pytest-mock

hdf5plugin # For HDF5 compression filters handling

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ def get_project_configuration():
test_requires = [
"pytest",
"pytest-xvfb",
"pytest-mock",
'bitshuffle'
]

Expand Down

0 comments on commit 08c36a0

Please sign in to comment.