def test_view(self):
        res = self.client.get(self.source.id % '/api/1/sources/%s')
        assert res.status_code == 403, res
        self.login()
        res = self.client.get('/api/1/sources/%s' % self.source.id)
        assert res.status_code == 200, res.json
        data = res.json
        assert data['label'] == self.source.label
dataset/ETHPy150Open pudo/aleph/aleph/tests/test_sources_api.py/SourcesApiTestCase.test_view/swapped operands of `%`