Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to pytest-lazy-fixtures #124

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- name: Install pycoast
shell: bash -l {0}
run: |
python -m pip install pytest-lazy-fixtures
avalentino marked this conversation as resolved.
Show resolved Hide resolved
python -m pip install --no-deps -e .

- name: Run unit tests
Expand Down
1 change: 0 additions & 1 deletion continuous_integration/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ dependencies:
- pyresample
- pytest <8.0
- pytest-cov
- pytest-lazy-fixture
2 changes: 1 addition & 1 deletion pycoast/tests/test_pycoast.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from PIL import Image, ImageFont
from pyproj import CRS
from pyresample.geometry import AreaDefinition
from pytest_lazyfixture import lazy_fixture
from pytest_lazy_fixtures import lf as lazy_fixture

LOCAL_DIR = os.path.dirname(__file__)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"sphinx",
"pyresample",
"pytest",
"pytest-lazy-fixture",
"pytest-lazy-fixtures",
"sphinx_rtd_theme",
"sphinxcontrib-apidoc",
],
"tests": ["pyresample", "pytest", "pytest-cov", "coverage", "coveralls", "pytest-lazy-fixture"],
"tests": ["pyresample", "pytest", "pytest-cov", "coverage", "coveralls", "pytest-lazy-fixtures"],
}

with open("README", "r") as readme_file:
Expand Down