From 7bc4b6a80e683c8d230550d5b43db9b1922d3e43 Mon Sep 17 00:00:00 2001 From: hpk Date: Tue, 6 Feb 2007 00:21:33 +0100 Subject: [PATCH] [svn r37988] adding a bit to the test (but the code is already correct) --HG-- branch : trunk --- py/test/rsession/testing/test_hostmanage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/py/test/rsession/testing/test_hostmanage.py b/py/test/rsession/testing/test_hostmanage.py index 094a261a6..b3759fb84 100644 --- a/py/test/rsession/testing/test_hostmanage.py +++ b/py/test/rsession/testing/test_hostmanage.py @@ -142,6 +142,7 @@ class TestHostManager(DirSetup): def test_hostmanager_init_rsync_rsync_roots(self): dir2 = self.source.ensure("dir1", "dir2", dir=1) + self.source.ensure("dir1", "somefile", dir=1) dir2.ensure("hello") self.source.ensure("bogusdir", "file") self.source.join("conftest.py").write(py.code.Source(""" @@ -156,6 +157,7 @@ class TestHostManager(DirSetup): assert self.dest.join("dir1", "dir2").check() assert self.dest.join("dir1", "dir2", 'hello').check() assert not self.dest.join("bogus").check() + assert not self.dest.join("dir1", "somefile").check() def test_hostmanager_rsync_ignore(self): dir2 = self.source.ensure("dir1", "dir2", dir=1)