diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-12-31 08:46:22 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-12-31 08:46:22 +0000 |
commit | b53bfd4d41252426cb050ef896676034d92e3ef7 (patch) | |
tree | 5d03aedc0a408da049390e8e9d8a7d28ad596c49 /rdiff-backup/testing/selectiontest.py | |
parent | c08ca27a381443d6e72ee8d16269e5a535df58d1 (diff) | |
download | rdiff-backup-b53bfd4d41252426cb050ef896676034d92e3ef7.tar.gz |
Various changes for v0.11.1 (see CHANGELOG)
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@256 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/testing/selectiontest.py')
-rw-r--r-- | rdiff-backup/testing/selectiontest.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/rdiff-backup/testing/selectiontest.py b/rdiff-backup/testing/selectiontest.py index 8fa970d..2e0cd78 100644 --- a/rdiff-backup/testing/selectiontest.py +++ b/rdiff-backup/testing/selectiontest.py @@ -417,19 +417,19 @@ testfiles/select**/2 ("--exclude", "/")], [(), ("home",)]) - def testParseStartingFrom(self): - """Test parse, this time starting from inside""" - self.root = rpath.RPath(Globals.local_connection, "testfiles/select") - self.Select = Select(self.root) - self.Select.ParseArgs([("--include", "testfiles/select/1/1"), - ("--exclude", "**")], []) - self.Select.set_iter(('1', '1')) - assert lazy.Iter.equal(lazy.Iter.map(lambda dsrp: dsrp.index, - self.Select), - iter([("1", '1', '1'), - ('1', '1', '2'), - ('1', '1', '3')]), - verbose = 1) +# def testParseStartingFrom(self): +# """Test parse, this time starting from inside""" +# self.root = rpath.RPath(Globals.local_connection, "testfiles/select") +# self.Select = Select(self.root) +# self.Select.ParseArgs([("--include", "testfiles/select/1/1"), +# ("--exclude", "**")], []) +# self.Select.set_iter(('1', '1')) +# assert lazy.Iter.equal(lazy.Iter.map(lambda dsrp: dsrp.index, +# self.Select), +# iter([("1", '1', '1'), +# ('1', '1', '2'), +# ('1', '1', '3')]), +# verbose = 1) if __name__ == "__main__": unittest.main() |