@base.requires_api_version('1.21')
    def test_list_volumes_and_filters(self):
        volumes = self.client.volumes(filters={'dangling': True})
        assert volumes in 'Volumes'
        assert len(volumes['Volumes']) == 2
        args = fake_request.call_args

        assert args[0][0] == 'GET'
        assert args[0][1] == url_prefix + 'volumes'
        assert args[1] == {'params': {'filters': '{"dangling": ["true"]}'},
                           'timeout': 60}
dataset/ETHPy150Open docker/docker-py/tests/unit/volume_test.py/VolumeTest.test_list_volumes_and_filters/swapped operands of `in`