Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Dec 9, 2024
1 parent 75402b6 commit 4ac3ac5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test/end-to-end/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,13 +699,9 @@ def test_filter_files(

def test_double_license(rattler_build: RattlerBuild, recipes: Path, tmp_path: Path):
path_to_recipe = recipes / "double_license"
args = rattler_build.build_args(
path_to_recipe,
tmp_path,
)
# make sure that two license files in $SRC_DIR and $RECIPE_DIR raise an exception
with pytest.raises(CalledProcessError):
rattler_build(*args)
args = rattler_build.build_args(path_to_recipe, tmp_path)
output = rattler_build(*args, stderr=STDOUT)
assert "warning License file from source directory was overwritten" in output


@pytest.mark.skipif(
Expand Down

0 comments on commit 4ac3ac5

Please sign in to comment.