def test_courseaccess(self): """ what is this? """ # respond() should do nothing CourseAccess.respond("foo") class StubRequest(object): REQUEST = dict() self.assertFalse(CourseAccess.allowed(StubRequest()))