Skip to content

Allow waiting on a mock #61215

Description

@pitrou
BPO 17013
Nosy @jcea, @pitrou, @rbtcollins, @cjw296, @ezio-melotti, @voidspace, @Kentzo, @lisroach, @mariocj89, @pablogsal, @Kentzo, @tirkarthi
PRs
  • [WIP] bpo-17013: Implement WaitableMock to create Mock objects that can wait until called #12818
  • gh-61215: New mock to wait for multi-threaded events to happen #16094
  • bpo-17013: Extend Mock.called to allow waiting for calls #17133
  • gh-61215: Add Mock.call_event to allow waiting for calls #20759
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2013-01-22.12:15:47.799>
    labels = ['type-feature', 'library', '3.9']
    title = 'Allow waiting on a mock'
    updated_at = <Date 2020-06-10.14:37:15.926>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2020-06-10.14:37:15.926>
    actor = 'Kentzo'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-01-22.12:15:47.799>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 17013
    keywords = ['patch']
    message_count = 18.0
    messages = ['180377', '181398', '247777', '340146', '340153', '340158', '340164', '352211', '356898', '367446', '371133', '371165', '371175', '371193', '371195', '371196', '371202', '371207']
    nosy_count = 13.0
    nosy_names = ['jcea', 'pitrou', 'rbcollins', 'cjw296', 'ezio.melotti', 'michael.foord', 'Ilya.Kulakov', 'lisroach', 'mariocj89', 'lkollar', 'pablogsal', 'Kentzo', 'xtreak']
    pr_nums = ['12818', '16094', '17133', '20759']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17013'
    versions = ['Python 3.9']

    Linked PRs

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.13bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

      Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions