def test_has_url_to_status_on_post(self):
        response = self.api_client.post(self.url, data={
            'service': {
                'name': 'dummy',
            },
            'project': 'test',
            'commit': {
                'branch': 'develop',
                'commit': 'asdfg',
                'author': 'nvbn',
            },
            'violations': [
                {'name': 'dummy', 'raw': '1'},
            ]
        })
        data = self.deserialize(response)
        'tasks/status'.should.be.within(data['resource_uri'])
Test has url to status on post
dataset/ETHPy150Open nvbn/coviolations_web/tasks/tests/test_resources.py/RawTaskResourceCase.test_has_url_to_status_on_post