Multiple ChoiceIntermediate 30s
Mock Return Value
Choose the best answer for: mock return_value
Options
- 1return_value is used to replace real function objects
- 2return_value sets the name of the mock object
- 3return_value is a method that resets the mock
- 4mock.return_value = X sets what the mock call returns
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.