def METHOD_NAME(self):
    Equal = self.assertEqual
    autocomplete = self.autocomplete
    trycompletions = self.autocomplete.try_open_completions_event
    o_c_l = Func()
    autocomplete._open_completions_later = o_c_l
    # _open_completions_later should not be called with no text in editor
    trycompletions('event')
    Equal(o_c_l.args, None)
    # _open_completions_later should be called with COMPLETE_ATTRIBUTES (1)
    self.text.insert('1.0', 're.')
    trycompletions('event')
    Equal(o_c_l.args, (False, False, False, 1))
    # _open_completions_later should be called with COMPLETE_FILES (2)
    self.text.delete('1.0', 'end')
    self.text.insert('1.0', '"./Lib/')
    trycompletions('event')
    Equal(o_c_l.args, (False, False, False, 2))