Source code for five9.tests.test_key_value_pair

# -*- coding: utf-8 -*-
# Copyright 2017-TODAY LasLabs Inc.
# License MIT (https://opensource.org/licenses/MIT).

import unittest

from ..models.key_value_pair import KeyValuePair


[docs]class TestKeyValuePair(unittest.TestCase):
[docs] def test_init_positional(self): """It should allow positional key, value pairs.""" res = KeyValuePair('key', 'value') self.assertEqual(res.key, 'key') self.assertEqual(res.value, 'value')