Mock.call_args and Mock.call_args_list not propagated to parent Mock
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
| BPO | 38505 |
|---|---|
| Nosy | @phmc, @tirkarthi |
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 2019-10-17.12:23:54.924>
labels = []
title = 'Mock.call_args and Mock.call_args_list not propagated to parent Mock'
updated_at = <Date 2019-10-28.20:47:49.330>
user = 'https://bugs.python.org/CarisMoses'
bugs.python.org fields:
activity = <Date 2019-10-28.20:47:49.330>
actor = 'pconnell'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2019-10-17.12:23:54.924>
creator = 'Caris Moses'
dependencies = []
files = []
hgrepos = []
issue_num = 38505
keywords = []
message_count = 1.0
messages = ['354841']
nosy_count = 3.0
nosy_names = ['pconnell', 'xtreak', 'Caris Moses']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue38505'
versions = []
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue identifiziert Mock.call_args und Mock.call_args_list als das betroffene Verhalten, nennt jedoch keine Quelldatei, keinen Test und keinen Einstiegspunkt. Beginne damit, die unittest.mock Mock-Implementierung und vorhandenen Tests zur Aufrufverfolgung zu finden, und reproduziere dann den im Titel beschriebenen Parent-Child-Mock-Fall. Erledigt ist die Aufgabe, wenn das Weitergabeverhalten korrigiert und durch Tests abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100