'Verify that we cannot access cohorting_settings if we\'re a non-staff user.'

def test_non_staff(self):

    request = RequestFactory().get('dummy_url')
    request.user = UserFactory()
    with self.assertRaises(Http404):
        cohorting_settings(request, unicode(self.course.id))
