diff options
-rw-r--r-- | vio/vio/tests/test_apiv2_controller.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vio/vio/tests/test_apiv2_controller.py b/vio/vio/tests/test_apiv2_controller.py index c769180..132a105 100644 --- a/vio/vio/tests/test_apiv2_controller.py +++ b/vio/vio/tests/test_apiv2_controller.py @@ -45,3 +45,8 @@ class TestAPIv2Controller(unittest.TestCase): } mock_kv3.return_value = mock.Mock() cb._get_vim_auth_session("vmware_vio", "tenant1") + + def test_convert_default_val(self): + self.assertEqual(None, cb._convert_default_value("None")) + self.assertEqual(True, cb._convert_default_value("true")) + self.assertEqual(False, cb._convert_default_value("false")) |