82
82
with patch.object(client, 'request_deletion',
83
83
autospec=True) as rd_mock:
84
84
client.delete_old_machines(1, 'foo@bar')
87
86
lmt_mock.assert_called_once_with('id')
88
87
drm_mock.assert_called_once_with('id')
89
88
self.assertEqual(0, rd_mock.call_count)