Add tests for interactions between boxed, dist and collect-only.
Re-enable parsing of the boxed option with collect-only
This commit is contained in:
committed by
James Bungard
parent
c83f73e19c
commit
7674f6b186
@@ -262,6 +262,16 @@ class TestDistribution:
|
||||
child.close()
|
||||
# assert ret == 2
|
||||
|
||||
def test_dist_with_collectonly(self, testdir):
|
||||
p1 = testdir.makepyfile("""
|
||||
def test_ok():
|
||||
pass
|
||||
""")
|
||||
result = testdir.runpytest(p1, "-n1", "--collect-only")
|
||||
assert result.ret == 0
|
||||
result.stdout.fnmatch_lines([
|
||||
"*collected 1 item*",
|
||||
])
|
||||
|
||||
class TestDistEach:
|
||||
def test_simple(self, testdir):
|
||||
|
||||
Reference in New Issue
Block a user