Searched refs:expected_calls (Results 1 – 6 of 6) sorted by relevance
242 int expected_calls = 1; in simple_request_body() local244 expected_calls *= 2; in simple_request_body()254 expected_calls); in simple_request_body()257 expected_calls); in simple_request_body()
92 expected_calls = [112 self.assertEqual(actual_calls, expected_calls)
141 def assertCallStack(self, expected_calls): argument144 if expected_calls != actualCallList:146 (expected_calls, actualCallList))
160 expected_calls = [call('foo'), call().__enter__(), call().read(),162 self.assertEqual(mock.mock_calls, expected_calls)173 expected_calls = [178 self.assertEqual(mock.mock_calls, expected_calls)
437 int expected_calls = 1; in simple_request_body() local439 expected_calls *= 2; in simple_request_body()
1194 >>> expected_calls = [call.foo.something(), call.bar.other.thing()]1195 >>> manager.mock_calls == expected_calls