'Tests _elements.attrib being non-empty'

def test_get_attr_names(self):

    root = netapp_api.NaElement('root')
    root.add_attr('attr1', 'a1')
    root.add_attr('attr2', 'a2')
    self.assertEqual(['attr1', 'attr2'], root.get_attr_names())
