Skip to content

Allow waiting on a mock #61215

@pitrou

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

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.13bugs and security fixesstdlibPython modules in the Lib dirtype-featureA feature request or enhancement

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        pFad - Phonifier reborn

        Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

        Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


        Alternative Proxies:

        Alternative Proxy

        pFad Proxy

        pFad v3 Proxy

        pFad v4 Proxy