Пример #1
0
 def test_dirchange(self, tmp_path: Path) -> None:
     tmp = tmp_path
     tmp.joinpath("dir").mkdir()
     tmp.joinpath("dir", "hello.py").touch()
     sd = StatRecorder([py.path.local(tmp)])
     assert not sd.fil(py.path.local(tmp / "dir"))
Пример #2
0
 def test_dirchange(self, tmpdir):
     tmp = tmpdir
     tmp.ensure("dir", "hello.py")
     sd = StatRecorder([tmp])
     assert not sd.fil(tmp.join("dir"))
Пример #3
0
 def test_dirchange(self, tmpdir):
     tmp = tmpdir
     tmp.ensure("dir", "hello.py")
     sd = StatRecorder([tmp])
     assert not sd.fil(tmp.join("dir"))