cleanup repository tree. use entry_points in setuptools instead of symlink

This commit is contained in:
Edwin Eefting
2021-02-07 13:00:04 +01:00
parent 0214584e4c
commit 4f9b7b6cef
21 changed files with 27 additions and 69 deletions

19
tests/test_regressions.py Normal file
View File

@ -0,0 +1,19 @@
from basetest import *
class TestZfsNode(unittest2.TestCase):
def setUp(self):
prepare_zpools()
self.longMessage=True
# #resume initial backup
# def test_keepsource0(self):
# #somehow only specifying --allow-empty --keep-source 0 failed:
# with patch('time.strftime', return_value="20101111000000"):
# self.assertFalse(ZfsAutobackup("test test_target1 --verbose --allow-empty --keep-source 0".split(" ")).run())
# with patch('time.strftime', return_value="20101111000001"):
# self.assertFalse(ZfsAutobackup("test test_target1 --verbose --allow-empty --keep-source 0".split(" ")).run())