cloudstack/systemvm/test/python/TestCsRedundant.py
2015-03-16 11:38:12 +01:00

21 lines
436 B
Python

import unittest
from cs.CsRedundant import CsRedundant
from cs.CsConfig import CsConfig
import merge
class TestCsRedundant(unittest.TestCase):
def setUp(self):
merge.DataBag.DPATH = "."
def test_init(self):
csconfig = CsConfig()
csconfig.set_cl()
csredundant = CsRedundant(csconfig, "address")
self.assertTrue(csredundant is not None)
if __name__ == '__main__':
unittest.main()