Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_setuserpassword.py   cloudbase-init(Download)
                                                          'fake user')
        mock_get_password.assert_called_once_with(mock_service, mock_osutils)
        mock_osutils.set_user_password.assert_called_once_with('fake user',
                                                               'fake password')
        self.assertEqual(response, 'fake password')

src/c/l/cloudbase-init-HEAD/cloudbaseinit/tests/plugins/windows/test_createuser.py   cloudbase-init(Download)
        if user_exists:
            mock_osutils.set_user_password.assert_called_once_with(
                CONF.username, 'password')
        else:
            mock_osutils.create_user.assert_called_once_with(CONF.username,