def setUp(self):
        super(SpecificSettingsTest, self).setUp()

        def create_record_in_collection(bucket_id, collection_id):
            bucket = MINIMALIST_BUCKET.copy()
            bucket['permissions'] = {'read': ['system.Everyone']}
            self.app.put_json(bucket_id % '/buckets/%s',
                              bucket,
                              headers=self.headers)
            collection_url = '/buckets/%s/collections/%s' % (bucket_id,
                                                             collection_id)
            self.app.put_json(collection_url,
                              MINIMALIST_COLLECTION,
                              headers=self.headers)
            r = self.app.post_json(collection_url + '/records',
                                   MINIMALIST_RECORD,
                                   headers=self.headers)
            return r.json['data']

        self.blog_record = create_record_in_collection('blog', 'cached')
        self.app_record = create_record_in_collection('browser', 'top500')
dataset/ETHPy150Open Kinto/kinto/kinto/tests/test_views_collections_cache.py/SpecificSettingsTest.setUp/swapped operands of `%`