Project

Profile

Help

Issue #2473

closed

mock: there is no such thing as assert_any_with

Added by mihai.ibanescu@gmail.com about 6 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.10.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

2 instances of invoking assert_any_with in test_content.py, like:

https://github.com/pulp/pulp/blob/master/client_admin/test/unit/test_content.py#L73

Probably a typo of assert_any_call or assert_called_with.

It would be interesting to find out why this doesn't fail for the automated jenkins builds, maybe the version of mock is ancient?

Also available in: Atom PDF