def test_get_key_nested_key_3(self): expected = "value11" obtained = get_key(TEST_TEMPLATE, "key11") self.assertEquals(expected, obtained)
def test_set_value_2(self): data = copy.deepcopy(TEST_TEMPLATE) expected = "foo" set_value(data, "key11", expected) obtained = get_key(data, "key11") self.assertEquals(expected, obtained)
def test_get_key_simple_key(self): expected = "value1" obtained = get_key(TEST_TEMPLATE, "key1") self.assertEquals(expected, obtained)