def METHOD_NAME(self):
    pulp_task = pulp_models.Task.objects.create(
        pk=24,
        job_id='0c978c4e-7aba-4a22-be39-de3a433fb687',
        state=pulp_const.TASK_STATES.COMPLETED,
        started_at='2019-04-09T09:58:02-04:00',
        finished_at='2019-04-09T09:58:59-04:00',
    )
    collection = models.Collection.objects.create(
        pk=25,
        namespace=self.namespace,
        name='mycollection',
    )
    version = models.CollectionVersion.objects.create(
        pk=26,
        collection=collection,
        version='1.2.3',
    )
    models.CollectionImport.objects.create(
        pk=42,
        namespace=self.namespace,
        name='mycollection',
        version='1.2.3',
        pulp_task=pulp_task,
        imported_version=version,
        messages=[
            {
                'level': 'INFO',
                'message': 'Task started',
                'time': 1554818284.0956235,
            },
            {
                'level': 'INFO',
                'message': 'Task finished',
                'time': 1554818305.9033494,
            }
        ],
        lint_records=[
            {
                'code': 'TEST0001',
                'type': 'test',
                'message': 'Test lint record',
                'severity': 4,
                'score_type': 'test'
            },
        ]
    )
    response = self.client.get(self.url.format(id=42))
    assert response.status_code == http_codes.HTTP_200_OK
    assert response.json() == {
        'id': 42,
        # 'href': '/api/v1/collection-imports/42/',
        'job_id': '0c978c4e-7aba-4a22-be39-de3a433fb687',
        'error': None,
        'started_at': '2019-04-09T09:58:02-04:00',
        'finished_at': '2019-04-09T09:58:59-04:00',
        'state': 'completed',
        'namespace': {
            'id': 12,
            'href': 'http://testserver/api/v1/namespaces/12/',
            'name': 'mynamespace',
        },
        'name': 'mycollection',
        'version': '1.2.3',
        'lint_records': [
            {
                'code': 'TEST0001',
                'message': 'Test lint record',
                'score_type': 'test',
                'severity': 4,
                'type': 'test',
            }
        ],
        'messages': [
            {
                'level': 'INFO',
                'message': 'Task started',
                'time': '2019-04-09T09:58:04.095623-04:00',
            },
            {
                'level': 'INFO',
                'message': 'Task finished',
                'time': '2019-04-09T09:58:25.903349-04:00',
            }
        ],
        'imported_version': {
            'href': 'http://testserver/api/v2/collection-versions/26/',
            'id': 26,
        },
    }