Skip to content

Commit 88bd892

Browse files
committed
Add a failing integration test. Ref #4976
1 parent 9dccfa4 commit 88bd892

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import subprocess
2+
3+
import pytest
4+
5+
6+
@pytest.mark.xfail(reason="#4976")
7+
def test_pbr_integration(pbr_package, venv):
8+
"""Ensure pbr packages install."""
9+
cmd = [
10+
'python',
11+
'-m',
12+
'pip',
13+
'-v',
14+
'install',
15+
'--no-build-isolation',
16+
pbr_package,
17+
]
18+
venv.run(cmd, stderr=subprocess.STDOUT)
19+
out = venv.run(["python", "-c", "import mypkg.hello"])
20+
assert "Hello world!" in out

0 commit comments

Comments
 (0)