From 9725333f0f73e72af4834f623666376fc46894df Mon Sep 17 00:00:00 2001 From: bescoto Date: Wed, 25 Dec 2002 21:15:31 +0000 Subject: Renamed highlevel.py to backup.py git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@254 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/testing/backuptest.py | 28 ++++++++++++++++++++++++++++ rdiff-backup/testing/highleveltest.py | 28 ---------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 rdiff-backup/testing/backuptest.py delete mode 100644 rdiff-backup/testing/highleveltest.py (limited to 'rdiff-backup/testing') diff --git a/rdiff-backup/testing/backuptest.py b/rdiff-backup/testing/backuptest.py new file mode 100644 index 0000000..2f1d937 --- /dev/null +++ b/rdiff-backup/testing/backuptest.py @@ -0,0 +1,28 @@ +import unittest +from commontest import * +from rdiff_backup import Globals, SetConnections + +class RemoteMirrorTest(unittest.TestCase): + """Test mirroring""" + def setUp(self): + """Start server""" + Log.setverbosity(3) + Globals.change_source_perms = 1 + SetConnections.UpdateGlobal('checkpoint_interval', 3) + + def testMirror(self): + """Testing simple mirror""" + MirrorTest(None, None, ["testfiles/increment1"]) + + def testMirror2(self): + """Test mirror with larger data set""" + MirrorTest(1, None, ['testfiles/increment1', 'testfiles/increment2', + 'testfiles/increment3', 'testfiles/increment4']) + + def testMirror3(self): + """Local version of testMirror2""" + MirrorTest(1, 1, ['testfiles/increment1', 'testfiles/increment2', + 'testfiles/increment3', 'testfiles/increment4']) + + +if __name__ == "__main__": unittest.main() diff --git a/rdiff-backup/testing/highleveltest.py b/rdiff-backup/testing/highleveltest.py deleted file mode 100644 index 2f1d937..0000000 --- a/rdiff-backup/testing/highleveltest.py +++ /dev/null @@ -1,28 +0,0 @@ -import unittest -from commontest import * -from rdiff_backup import Globals, SetConnections - -class RemoteMirrorTest(unittest.TestCase): - """Test mirroring""" - def setUp(self): - """Start server""" - Log.setverbosity(3) - Globals.change_source_perms = 1 - SetConnections.UpdateGlobal('checkpoint_interval', 3) - - def testMirror(self): - """Testing simple mirror""" - MirrorTest(None, None, ["testfiles/increment1"]) - - def testMirror2(self): - """Test mirror with larger data set""" - MirrorTest(1, None, ['testfiles/increment1', 'testfiles/increment2', - 'testfiles/increment3', 'testfiles/increment4']) - - def testMirror3(self): - """Local version of testMirror2""" - MirrorTest(1, 1, ['testfiles/increment1', 'testfiles/increment2', - 'testfiles/increment3', 'testfiles/increment4']) - - -if __name__ == "__main__": unittest.main() -- cgit v1.2.1