'Make sure that well known flows can run on the front end.'

def testWellKnownFlowsBlacklist(self):

    with test_lib.ConfigOverrider({'Frontend.DEBUG_well_known_flows_blacklist': [utils.SmartStr(flow_test_lib.WellKnownSessionTest.well_known_session_id.FlowName())]}):
        self.InitTestServer()
        flow_test_lib.WellKnownSessionTest.messages = []
        session_id = flow_test_lib.WellKnownSessionTest.well_known_session_id
        messages = [rdf_flows.GrrMessage(request_id=0, response_id=0, session_id=session_id, payload=rdfvalue.RDFInteger(i)) for i in range(1, 10)]
        self.server.ReceiveMessages(self.client_id, messages)
        self.server.thread_pool.Join()
        self.assertFalse(flow_test_lib.WellKnownSessionTest.messages)
        self.assertEqual([], data_store.DB.ResolvePrefix(self.client_id, 'task:', token=self.token))
