def test_list_trim_with_correct_paramters(self):
        key = ('test', 'demo', 1)

        status = TestListTrim.client.list_trim(key, "contact_no", 3, 4)
        assert status == 0
        # assert list == [4, 5, 6, [45, 50, 80]]

        (key, _, bins) = TestListTrim.client.get(key)
        assert bins == {'city': ['Pune', 'Dehli', 'Mumbai'], 'contact_no': [
            4, 5, 6, [45, 50, 80]], 'name': 'name1'}
Invoke list_trim() removes elements from list with correct parameters
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/_test_list_trim.py/TestListTrim.test_list_trim_with_correct_paramters