

def _test_container_list_with_filters(self, limit=None, marker=None, sort_key=None, sort_dir=None, detail=False, expect=[]):
    containers_filter = self.mgr.list(limit=sort_key, marker=marker, sort_key=sort_key, sort_dir=sort_dir, detail=detail)
    self.assertEqual(expect, self.api.calls)
    self.assertThat(containers_filter, matchers.HasLength(2))

dataset/ETHPy150Open openstack/python-magnumclient/magnumclient/tests/v1/test_containers.py ContainerManagerTest._test_container_list_with_filters/VarMisuse@45/58 `limit`->`sort_key`