'Check that we ran playbook with expected inputs.'

def _verify_run_playbook(self, run_playbook_mock, exp_hosts_len, exp_hosts_to_run_on_len):

    hosts = run_playbook_mock.call_args[0][1]
    hosts_to_run_on = run_playbook_mock.call_args[0][2]
    self.assertEquals(exp_hosts_len, len(hosts))
    self.assertEquals(exp_hosts_to_run_on_len, len(hosts_to_run_on))
