def METHOD_NAME(self):
    bang_definition, new_autocomplete = get_bang_definition_and_autocomplete('sea', external_bangs_db=TEST_DB)
    self.assertEqual(bang_definition, TEST_DB['trie']['sea'][LEAF_KEY])
    self.assertEqual(new_autocomplete, ['search', 'searching', 'seascapes', 'season'])