def test_authed_user_doesnt_get_redirected(self):
        client = Client()

        with patch.object(GraphAPI, 'get') as graph_get:
            graph_get.return_value = TEST_GRAPH_ME_RESPONSE

            response = client.post(
                path = reverse('home'),
                data = {
                    'signed_request': TEST_SIGNED_REQUEST
                }
            )

        assert response.status_code != 401
Warnings are suppressed for processes that import flocker.
dataset/ETHPy150Open jgorset/fandjango/tests/test_fandjango.py/TestFacebookMiddleware.test_authed_user_doesnt_get_redirected--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/test/test_flocker.py/WarningsTests.test_warnings_suppressed