def setup_mock_calls(mocked_call, expected_calls_and_values):
    return_values = [call[1] for call in expected_calls_and_values]
    mocked_call.side_effect = return_values
If a name in the base list of a class definition is undefined, a
dataset/ETHPy150Open openstack/neutron/neutron/tests/tools.py/setup_mock_calls--crossover with--dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Test.test_undefinedBaseClass