'Verify that, if the user is directed to the logout page from a service, that service\'s logout URL
is not included in the context sent to the template.'

def test_filter_referring_service(self):

    client = self.create_oauth_client()
    response = self.assert_session_logged_out(client, HTTP_REFERER=client.logout_uri)
    expected = {'logout_uris': [], 'target': '/'}
    self.assertDictContainsSubset(expected, response.context_data)
