def test_read_without_permission(self):
        rforum = RestrictedForumFactory()
        response = get(self.client, 'forums.threads', args=[rforum.slug])
        eq_(404, response.status_code)
Add a callback for when the given file descriptor is available for reading.
dataset/ETHPy150Open mozilla/kitsune/kitsune/forums/tests/test_views.py/ThreadAuthorityPermissionsTests.test_read_without_permission--crossover with--dataset/ETHPy150Open Shizmob/pydle/pydle/async.py/EventLoop.on_read