cloudstack/systemvm/test/python/TestCsDhcp.py
Ian Southam 7d0df32560 Lots of fixes from the testing
firewallrules implemented sperately from networkacl (ugly but best that can be done ATM)
Some refactoring in CsDHCP as it made no sense to do it that way anymore
processmonitoring implemented
Domain not correctly sourced in VR
2015-03-16 11:38:15 +01:00

21 lines
429 B
Python

import unittest
import mock
from cs.CsDhcp import CsDhcp
from cs import CsHelper
import merge
class TestCsDhcp(unittest.TestCase):
def setUp(self):
merge.DataBag.DPATH = "."
# @mock.patch('cs.CsDhcp.CsHelper')
# @mock.patch('cs.CsDhcp.CsDnsMasq')
def test_init(self):
csdhcp = CsDhcp("dhcpentry", {})
self.assertTrue(csdhcp is not None)
if __name__ == '__main__':
unittest.main()