'Tests list/tuple are appended as child to root.'

def test_setter_child_list_tuple(self):

    root = netapp_api.NaElement('root')
    root['l'] = ['l1', 'l2']
    root['t'] = ('t1', 't2')
    l = root.get_child_by_name('l')
    self.assertIsInstance(l, netapp_api.NaElement)
    t = root.get_child_by_name('t')
    self.assertIsInstance(t, netapp_api.NaElement)
    for le in l.get_children():
        self.assertIn(le.get_name(), ['l1', 'l2'])
    for te in t.get_children():
        self.assertIn(te.get_name(), ['t1', 't2'])
