Skip to content

Commit

Permalink
Merge pull request #124 from avalentino/lazy-fixtures
Browse files Browse the repository at this point in the history
Switch to pytest-lazy-fixtures
  • Loading branch information
mraspaud committed May 17, 2024
2 parents a374562 + 051886a commit 5f32215
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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
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

0 comments on commit 5f32215

Please sign in to comment.