mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
17 lines
352 B
Python
17 lines
352 B
Python
import unittest
|
|
from cs.CsAddress import CsAddress
|
|
import merge
|
|
|
|
|
|
class TestCsAddress(unittest.TestCase):
|
|
|
|
def setUp(self):
|
|
merge.DataBag.DPATH = "."
|
|
|
|
def test_needs_vrrp(self):
|
|
csaddress = CsAddress("ips", {})
|
|
self.assertTrue(csaddress.needs_vrrp({"nw_type": "public"}))
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|