'Test cassandra.metadata.is_valid_name output'

def test_is_valid_name(self):

    self.assertEqual(is_valid_name(None), False)
    self.assertEqual(is_valid_name('test'), True)
    self.assertEqual(is_valid_name('Test'), False)
    self.assertEqual(is_valid_name('t_____1'), True)
    self.assertEqual(is_valid_name('test1'), True)
    self.assertEqual(is_valid_name('1test1'), False)
    invalid_keywords = (cassandra.metadata.cql_keywords - cassandra.metadata.cql_keywords_unreserved)
    for keyword in invalid_keywords:
        self.assertEqual(is_valid_name(keyword), False)
