Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
d-chambers committed Dec 31, 2024
1 parent a6a2285 commit 925ed0e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,8 @@ def one_file_dir(tmp_path_factory, random_patch):
@pytest.fixture(scope="session")
def random_directory_spool(tmp_path_factory):
"""A directory with a few patch files."""
out = Path(tmp_path_factory.mktemp("one_file_file_spool"))
spool = ex.get_example_spool("random_das")
out_path = ex.spool_to_directory(spool, path=out)
return dc.spool(out_path).update()
path = Path(tmp_path_factory.mktemp("one_file_file_spool"))
return dc.examples.random_directory_spool(path=path)


@pytest.fixture(scope="class")
Expand Down

0 comments on commit 925ed0e

Please sign in to comment.