Skip to content

Commit 8796961

Browse files
committed
tests: move fixtures into subdirectory
Minor cleanup. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 05083a7 commit 8796961

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Run tests
5858
run: pytest -v
5959
- name: Tile slide
60-
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/small.svs
60+
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs
6161
windows:
6262
name: Windows
6363
needs: pre-commit
@@ -117,7 +117,7 @@ jobs:
117117
python examples/deepzoom/deepzoom_tile.py -h >/dev/null
118118
- name: Tile slide
119119
# Reads OPENSLIDE_PATH
120-
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/small.svs
120+
run: python examples/deepzoom/deepzoom_tile.py --viewer -o tiled tests/fixtures/small.svs
121121
- name: Archive wheel
122122
uses: actions/upload-artifact@v3
123123
with:

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646

4747
def file_path(name):
48-
return Path(__file__).parent / name
48+
return Path(__file__).parent / 'fixtures' / name
4949

5050

5151
def maybe_supported(f):
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)