'Does Brain correctly send query to higher-priority module?'

def testPriority(self):

    my_brain = TestBrain._emptyBrain()
    hn_module = 'HN'
    hn = filter((lambda m: (m.__name__ == hn_module)), my_brain.modules)[0]
    with mock.patch.object(hn, 'handle') as mocked_handle:
        my_brain.query(['hacker    news'])
        self.assertTrue(mocked_handle.called)
