def METHOD_NAME(self):
    self.tournament.preferences['public_features__public_motions'] = True
    self.tournament.preferences['tab_release__motion_tab_released'] = False
    # Motion with id exists
    response = self.client.get(reverse('api-motion-detail', kwargs={'tournament_slug': self.tournament.slug, 'pk': 1}))
    self.assertEqual(response.status_code, 404)