def test_normalize_kw_and_lib(self):
        kw = 'Comment'
        library = 'BuiltIn'
        line = '{0}{1}.{2}'.format(self.rf_cell, library, kw)
        column = len(line) - 1
        keyword, object_name = self.rkao.normalize(line, column)
        self.assertEqual(object_name, library)
        self.assertEqual(keyword, kw)
        kw = 'Common Keyword 2'
        library = 'common'
        line = '{0}{1}.{2}'.format(self.rf_cell, library, kw)
        column = len(line) - 1
        keyword, object_name = self.rkao.normalize(line, column)
        self.assertEqual(keyword, kw)
        self.assertEqual(object_name, library)
dataset/ETHPy150Open andriyko/sublime-robot-framework-assistant/test/unit/test_noralize_cell.py/TestCompletions.test_normalize_kw_and_lib/original