Skip to content

Commit

Permalink
skipping a function
Browse files Browse the repository at this point in the history
  • Loading branch information
hamshkhawar committed Jul 25, 2024
1 parent b687c53 commit 6fdca94
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
from typing import Union

import polus.images.formats.image_dimension_stacking.dimension_stacking as ds
import pytest
from bfio import BioReader
from bfio import BioWriter

from .conftest import * # noqa:F403
from .conftest import clean_directories


# Later Todo
@pytest.mark.skipif("not config.getoption('slow')")
def test_dimension_stacking(
synthetic_images: tuple[Union[str, Path], str, str],
output_directory: Path,
Expand All @@ -28,6 +31,7 @@ def test_dimension_stacking(
outfile = [
f for f in output_directory.iterdir() if f"{variable}0(0-9).ome.tif" in f.name
]

assert all(outfile) is True
assert len(outfile) == 1

Expand Down

0 comments on commit 6fdca94

Please sign in to comment.