Skip to main content

Change history

1.0 (xxxx-xx-xx)

  • Created recipe with ZopeSkel [“”].

Detailed Documentation

Tests for jalon.pas.sygefor

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')

jalon.pas.sygefor should be in the list of installable plugins:

>>> 'Sygefor Helper' in select.displayOptions
True

and we can select it:

>>> select.getControl('Sygefor Helper').click()
>>> select.displayValue
['Sygefor Helper']
>>> select.value
['manage_addProduct/jalon.pas.sygefor/manage_add_sygefor_helper_form']

we add ‘Sygefor Helper’ to acl_users:

>>> from jalon.pas.sygefor.plugin import SygeforHelper
>>> myhelper = SygeforHelper('myplugin', 'Sygefor Helper')
>>> self.portal.acl_users['myplugin'] = myhelper

and so on. Continue your tests here

>>> 'ALL OK'
'ALL OK'

Contributors

“”, Author

Download

Metadata

Release files for jalon.pas.sygefor 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jalon.pas.sygefor 1.1
File Size Uploaded Provenance
jalon.pas.sygefor-1.1.tar.gz 16.8 kB Without provenance Details

Release files / jalon.pas.sygefor-1.1.tar.gz

Download URL jalon.pas.sygefor-1.1.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e28c22870daef52ef2e423672dbfe537366e964628774c43fb6eabdd4cbe6b76
BLAKE2b-256 checksum
How to use checksums
1602fa0a3bba1120e8013ce8f2ba21b208afde94effca75f600afeaaf653f4c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jalon.pas.sygefor 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page