forked from third-party-mirrors/zfs_autobackup
16 lines
497 B
Python
16 lines
497 B
Python
from basetest import *
|
|
|
|
|
|
class TestZfsAutobackup(unittest2.TestCase):
|
|
|
|
def setUp(self):
|
|
prepare_zpools()
|
|
# return super(TestZfsAutobackup,self).setUp()
|
|
|
|
def test_defaults(self):
|
|
with self.subTest("defaults with full verbose and debug"):
|
|
self.assertFalse(ZfsAutobackup("test test_target1 --verbose --debug".split(" ")).run())
|
|
|
|
with self.subTest("bare defaults"):
|
|
self.assertFalse(ZfsAutobackup("test test_target1".split(" ")).run())
|