Rob Capellini
4891ca1610
Removing calls to mock.assert_called_once_with ( #3896 )
...
If a mock's assert_called_once_with method is misspelled (e.g. asert_called_once_with) then the test will appear as passing. Therefore, this commit removes all instances of assert_called_once_with calls and replaces them with two assertions:
self.assertEqual(mock.call_count, 1)
self.assertEqual(mock.call_args, mock.call(call_args))
2016-10-16 16:13:27 -07:00
..
2016-10-08 11:27:35 -07:00
2016-10-08 11:27:35 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-09-17 10:29:58 -07:00
2016-10-08 11:27:35 -07:00
2016-09-25 23:15:21 +02:00
2016-10-08 11:27:35 -07:00
2016-09-17 10:29:58 -07:00
2016-10-16 16:13:27 -07:00
2016-10-14 21:08:44 -07:00
2016-10-11 20:33:41 -07:00
2016-09-13 18:17:51 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-03-09 10:25:50 +01:00
2016-10-13 09:14:22 -07:00
2016-10-04 20:44:32 -07:00
2016-09-12 19:16:14 -07:00
2016-09-25 23:15:21 +02:00
2016-09-25 23:15:21 +02:00
2016-09-25 23:15:21 +02:00
2016-09-02 14:25:13 +02:00
2016-09-12 19:16:14 -07:00
2016-10-16 16:13:27 -07:00
2016-10-16 09:35:46 -07:00
2016-10-13 08:54:45 -07:00
2016-10-09 08:13:30 -07:00
2016-10-16 16:13:27 -07:00
2016-09-30 12:57:24 -07:00
2016-09-23 00:12:11 -07:00
2016-10-13 21:53:47 -07:00
2016-09-23 00:12:11 -07:00
2016-09-25 23:15:21 +02:00
2016-10-08 11:26:14 -07:00
2016-10-16 16:13:27 -07:00
2016-09-28 00:05:38 -07:00
2016-09-25 23:15:21 +02:00
2016-08-08 17:35:46 -07:00
2016-08-07 21:56:17 -07:00
2016-09-25 23:15:21 +02:00
2016-10-11 00:26:11 -07:00
2016-10-01 13:57:10 -07:00
2016-09-17 10:29:58 -07:00
2016-10-04 21:20:48 -07:00
2016-09-27 21:29:55 -07:00
2016-09-23 10:28:16 +02:00
2016-10-16 16:13:27 -07:00
2016-10-16 16:13:27 -07:00
2016-09-26 23:20:36 +02:00
2016-09-29 19:02:22 -07:00
2016-09-26 23:20:36 +02:00
2016-09-24 00:04:03 -07:00