Skip to content

Commit

Permalink
smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
radoering committed Apr 9, 2023
1 parent 6fecf96 commit 9116742
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/utils/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,3 +404,10 @@ def test_get_found_cached_archive_for_link(
archive = cache.get_cached_archive_for_link(Link(link), strict=strict, env=env)

assert Path(cached) == archive


def test_get_cached_archive_for_git() -> None:
"""Smoke test that checks that no assertion is raised."""
cache = ArtifactCache(cache_dir=Path())
archive = cache.get_cached_archive_for_git("url", "ref", "subdirectory", MockEnv())
assert archive is None

0 comments on commit 9116742

Please sign in to comment.