'Tests that filtering work on flavor details and that minRam and
minDisk filters can be combined'

def test_get_flavor_list_detail_min_ram_and_min_disk(self):

    req = self.fake_request.blank((self._prefix + '/flavors/detail?minRam=256&minDisk=20'))
    flavor = self.controller.detail(req)
    expected = {'flavors': [{'id': fakes.FLAVORS['2'].flavorid, 'name': fakes.FLAVORS['2'].name, 'ram': fakes.FLAVORS['2'].memory_mb, 'disk': fakes.FLAVORS['2'].root_gb, 'vcpus': fakes.FLAVORS['2'].vcpus, 'links': [{'rel': 'self', 'href': (('http://localhost/' + self._rspv) + '/flavors/2')}, {'rel': 'bookmark', 'href': (('http://localhost' + self._fake) + '/flavors/2')}]}]}
    self._set_expected_body(expected['flavors'][0], fakes.FLAVORS['2'])
    self.assertEqual(expected, flavor)
