1 |
import unittest |
import unittest |
2 |
from commontest import * |
from commontest import * |
3 |
from rdiff_backup import Globals, SetConnections |
from rdiff_backup import Globals, SetConnections, user_group |
4 |
|
|
5 |
class RemoteMirrorTest(unittest.TestCase): |
class RemoteMirrorTest(unittest.TestCase): |
6 |
"""Test mirroring""" |
"""Test mirroring""" |
9 |
Log.setverbosity(3) |
Log.setverbosity(3) |
10 |
Globals.change_source_perms = 1 |
Globals.change_source_perms = 1 |
11 |
SetConnections.UpdateGlobal('checkpoint_interval', 3) |
SetConnections.UpdateGlobal('checkpoint_interval', 3) |
12 |
|
user_group.init_user_mapping() |
13 |
|
user_group.init_group_mapping() |
14 |
|
|
15 |
def testMirror(self): |
def testMirror(self): |
16 |
"""Testing simple mirror""" |
"""Testing simple mirror""" |