def testLoginRequired(self, view_url='/login_required/', login_url='/login/'):
        response = self.client.get(view_url)
        self.assertEqual(response.status_code, 302)
        self.assertTrue(login_url in response['Location'])
        self.login()
        response = self.client.get(view_url)
        self.assertEqual(response.status_code, 200)
Cleanup of the GreTapBridge.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/auth/tests/decorators.py/LoginRequiredTestCase.testLoginRequired--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.deltunnel