Skip to main content

PAS plugin for GoogleApps domains.

Project description

.. contents::

.. Note!
-----
Update the following URLs to point to your:

- code repository
- bug tracker
- questions/comments feedback mail
(do not set a real mail, to avoid spams)

Or remove it if not used.

- Code repository: http://svn.somewhere.com/...
- Questions and comments to somemailing_list
- Report bugs at http://bug.somewhere.com/..


Change history
**************

1.0 (xxxx-xx-xx)
==================

- Created recipe with ZopeSkel [Rcom].

Detailed Documentation
**********************

Tests for rcom.pas.gapps

test setup
----------

>>> from Testing.ZopeTestCase import user_password
>>> from Products.Five.testbrowser import Browser
>>> browser = Browser()

Plugin setup
------------

>>> acl_users_url = "%s/acl_users" % self.portal.absolute_url()
>>> browser.addHeader('Authorization', 'Basic %s:%s' % ('portal_owner', user_password))
>>> browser.open("%s/manage_main" % acl_users_url)
>>> browser.url
'http://nohost/plone/acl_users/manage_main'
>>> form = browser.getForm(index=0)
>>> select = form.getControl(name=':action')

rcom.pas.gapps should be in the list of installable plugins:

>>> 'GApps Authentication Helper' in select.displayOptions
True

and we can select it:

>>> select.getControl('GApps Authentication Helper').click()
>>> select.displayValue
['GApps Authentication Helper']
>>> select.value
['manage_addProduct/rcom.pas.gapps/manage_add_gapps_form']

we add 'Gapps Helper' to acl_users:

>>> from rcom.pas.gapps.plugin import GappsHelper
>>> myhelper = GappsHelper('myplugin', 'Gapps Helper')
>>> self.portal.acl_users['myplugin'] = myhelper

and so on. Continue your tests here

>>> 'ALL OK'
'ALL OK'


Contributors
************

Rcom, Author


Download
********

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rcom.pas.gapps-1.0dev.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

rcom.pas.gapps-1.0dev-py2.4.egg (15.0 kB view details)

Uploaded Source

File details

Details for the file rcom.pas.gapps-1.0dev.tar.gz.

File metadata

File hashes

Hashes for rcom.pas.gapps-1.0dev.tar.gz
Algorithm Hash digest
SHA256 81487afc727490afe50a63e0168dbd1048286db66e5764adc0e3bf55df51a5a8
MD5 3f9b61067c215f30e3dfb183498b0acb
BLAKE2b-256 8643128ab80cf54886252034649e807df381069b3e76e646bfa09f498d8c0bec

See more details on using hashes here.

File details

Details for the file rcom.pas.gapps-1.0dev-py2.4.egg.

File metadata

File hashes

Hashes for rcom.pas.gapps-1.0dev-py2.4.egg
Algorithm Hash digest
SHA256 3f977ae0371595a098a9f45735b3c5334c85dd20874057ef2d23770ff083d7dd
MD5 5935bf5d9216f380b8ed93f1d1bdea7f
BLAKE2b-256 415da0bcd7e033385c7ea7d3a7cfe0eeff3781f4332e63f35c3b9154d3eb58dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page