def test_pos_list_clear_list_with_correct_policy(self):

        key = ('test', 'demo', 2)

        status = self.as_connection.list_clear(key, 'city')
        assert status == 0

        (key, _, bins) = self.as_connection.get(key)
        assert bins == {'city': [], 'contact_no': [2, 3], 'name': 'name2'}

    # Negative Tests
Invoke list_clear() removes all list elements with correct policy
dataset/ETHPy150Open aerospike/aerospike-client-python/test/new_tests/test_list_clear.py/TestListClear.test_pos_list_clear_list_with_correct_policy