def METHOD_NAME(self):
    dp = DataProduct.objects.create(
        product_id='testproductid',
        target=self.st,
        data=SimpleUploadedFile('afile.fits', b'somedata')
    )
    response = self.client.get(reverse('api:dataproducts-list'))
    self.assertContains(response, dp.product_id, status_code=status.HTTP_200_OK)