'Test keywords filtering'

def test_tag_filters(self):

    filter_url = (self.list_url + '?keywords__slug=layertagunique')
    resp = self.api_client.get(filter_url)
    self.assertValidJSONResponse(resp)
    self.assertEquals(len(self.deserialize(resp)['objects']), 1)
    filter_url = (self.list_url + '?keywords__slug__in=layertagunique&keywords__slug__in=populartag')
    resp = self.api_client.get(filter_url)
    self.assertValidJSONResponse(resp)
    self.assertEquals(len(self.deserialize(resp)['objects']), 8)
