124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 | |
def test_exit_first_problem(self): |
session = self.mainsession("--exitfirst", |
-> datadir / 'filetest.py') |
assert session.config.option.exitfirst |
l = session.getitemoutcomepairs(Failed) |
assert len(l) == 1 |
l = session.getitemoutcomepairs(Passed) |
assert not l | |