fix pytest issue41: re-run tests on all file changes, not just

randomly select ones like .py/.c.
This commit is contained in:
holger krekel
2013-09-05 14:21:43 +02:00
parent 013b2fc6bb
commit f144ef88e3
4 changed files with 8 additions and 5 deletions

View File

@@ -64,11 +64,11 @@ class TestStatRecorder:
pycfile = hello + "c"
pycfile.ensure()
changed = sd.check()
assert not changed
assert changed
hello.write("world")
changed = sd.check()
assert not pycfile.check()
assert changed
def test_waitonchange(self, tmpdir, monkeypatch):
tmp = tmpdir