Skip to content

Commit 889b6a6

Browse files
authored
test: improve test_build_conda_package (#3127)
1 parent f8c0016 commit 889b6a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration_python/pixi_build/test_build.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ def test_build_conda_package(pixi: Path, tmp_pixi_workspace: Path, build_data: P
2424
)
2525

2626
# really make sure that conda package was built
27-
package_to_be_built = next(manifest_path.parent.glob("*.conda"))
27+
built_packages = list(manifest_path.parent.glob("*.conda"))
2828

29-
assert package_to_be_built.exists()
29+
assert len(built_packages) == 1
30+
assert built_packages[0].exists()
3031

3132

3233
@pytest.mark.extra_slow

0 commit comments

Comments
 (0)