Skip to content

Commit

Permalink
missing jinja var now throws CondaBuildUserError
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciaaevans committed Oct 18, 2024
1 parent aa0dc8d commit 0ef7da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from pathlib import Path
from textwrap import dedent

from conda_build import api, metadata
from conda_build import api, metadata, exceptions

from bioconda_utils import __version__
from bioconda_utils import utils
Expand Down Expand Up @@ -652,7 +652,7 @@ def test_rendering_sandboxing():
assert ("'GITHUB_TOKEN' is undefined" in str(excinfo.value.stdout))
else:
# recipe for "one" should fail because GITHUB_TOKEN is not a jinja var.
with pytest.raises(SystemExit) as excinfo:
with pytest.raises(exceptions.CondaBuildUserError) as excinfo:
pkg_paths = utils.built_package_paths(r.recipe_dirs['one'])
build.build(
recipe=r.recipe_dirs['one'],
Expand Down

0 comments on commit 0ef7da9

Please sign in to comment.